ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
MailDeliveryData Class Reference
+ Collaboration diagram for MailDeliveryData:

Public Member Functions

 __construct (private readonly string $to, private readonly string $cc, private readonly string $bcc, private readonly string $subject, private readonly string $message, private readonly array $attachments, private readonly bool $use_placeholder, private ?int $internal_mail_id=null)
 
 getTo ()
 
 getCc ()
 
 getBcc ()
 
 getSubject ()
 
 getMessage ()
 
 getAttachments ()
 
 getInternalMailId ()
 
 isUsePlaceholder ()
 
 withInternalMailId (int $internal_mail_id)
 

Detailed Description

Definition at line 21 of file MailDeliveryData.php.

Constructor & Destructor Documentation

◆ __construct()

MailDeliveryData::__construct ( private readonly string  $to,
private readonly string  $cc,
private readonly string  $bcc,
private readonly string  $subject,
private readonly string  $message,
private readonly array  $attachments,
private readonly bool  $use_placeholder,
private ?int  $internal_mail_id = null 
)

Definition at line 23 of file MailDeliveryData.php.

32 {
33 }

Member Function Documentation

◆ getAttachments()

MailDeliveryData::getAttachments ( )

Definition at line 60 of file MailDeliveryData.php.

60 : array
61 {
62 return $this->attachments;
63 }

Referenced by ilMail\sendChanneledMails(), and ilMail\sendMail().

+ Here is the caller graph for this function:

◆ getBcc()

MailDeliveryData::getBcc ( )

Definition at line 45 of file MailDeliveryData.php.

45 : string
46 {
47 return $this->bcc;
48 }

Referenced by ilMail\distributeMail().

+ Here is the caller graph for this function:

◆ getCc()

MailDeliveryData::getCc ( )

Definition at line 40 of file MailDeliveryData.php.

40 : string
41 {
42 return $this->cc;
43 }

Referenced by ilMail\distributeMail(), and ilMail\sendChanneledMails().

+ Here is the caller graph for this function:

◆ getInternalMailId()

MailDeliveryData::getInternalMailId ( )

Definition at line 65 of file MailDeliveryData.php.

65 : ?int
66 {
67 return $this->internal_mail_id;
68 }

Referenced by ilMail\sendChanneledMails().

+ Here is the caller graph for this function:

◆ getMessage()

MailDeliveryData::getMessage ( )

Definition at line 55 of file MailDeliveryData.php.

55 : string
56 {
57 return $this->message;
58 }
$message
Definition: xapiexit.php:31

References $message.

Referenced by ilMail\sendMailWithReplacedPlaceholder().

+ Here is the caller graph for this function:

◆ getSubject()

MailDeliveryData::getSubject ( )

Definition at line 50 of file MailDeliveryData.php.

50 : string
51 {
52 return $this->subject;
53 }

Referenced by ilMail\sendChanneledMails().

+ Here is the caller graph for this function:

◆ getTo()

MailDeliveryData::getTo ( )

Definition at line 35 of file MailDeliveryData.php.

35 : string
36 {
37 return $this->to;
38 }

Referenced by ilMail\distributeMail(), and ilMail\sendChanneledMails().

+ Here is the caller graph for this function:

◆ isUsePlaceholder()

MailDeliveryData::isUsePlaceholder ( )

Definition at line 70 of file MailDeliveryData.php.

70 : bool
71 {
72 return $this->use_placeholder;
73 }

Referenced by ilMail\distributeMail().

+ Here is the caller graph for this function:

◆ withInternalMailId()

MailDeliveryData::withInternalMailId ( int  $internal_mail_id)

Definition at line 75 of file MailDeliveryData.php.

76 {
77 $clone = clone $this;
78 $clone->internal_mail_id = $internal_mail_id;
79 return $clone;
80 }

The documentation for this class was generated from the following file: