|
ILIAS
trunk Revision v13.0_alpha-62-g3b72d83f2e5
|
Collaboration diagram for ilMimeMail:Public Member Functions | |
| __construct (?MailBodyComposer $body_composer=null) | |
| Subject (string $subject, bool $add_prefix=false, string $context_prefix='') | |
| getSubject () | |
| From (ilMailMimeSender $sender) | |
| To ($to) | |
| Cc ($cc) | |
| Bcc ($bcc) | |
| getTo () | |
| getCc () | |
| getBcc () | |
| Body (string $body, ?Closure $to_html_transformation=null) | |
| getFinalBody () | |
| getFinalBodyalt () | |
| getFrom () | |
| Attach (string $filename, string $file_type='', string $disposition='inline', ?string $display_name=null) | |
| AttachResource (ResourceIdentification $resource_identification, string $display_name, string $file_type='', string $disposition='inline') | |
| getMimeAttachments () | |
| getAttachments () | |
| getImages () | |
| Send (?ilMailMimeTransport $transport=null) | |
Static Public Member Functions | |
| static | setDefaultTransport (?ilMailMimeTransport $transport) |
| static | getDefaultTransport () |
Data Fields | |
| final const string | MAIL_SUBJECT_PREFIX = '[ILIAS]' |
Protected Member Functions | |
| build () | |
Protected Attributes | |
| ilMailMimeSender | $sender |
| ilMailMimeSubjectBuilder | $subject_builder |
| ilSetting | $settings |
| string | $subject = '' |
| string | $body = '' |
| string | $final_body = '' |
| string | $final_body_alt = '' |
| array | $sendto = [] |
| array | $acc = [] |
| array | $abcc = [] |
| InlineImages | $images |
| array | $mime_attachments = [] |
Static Protected Attributes | |
| static ilMailMimeTransport | $default_transport = null |
Private Member Functions | |
| bodyComposer () | |
| Resolved on demand, so that merely constructing a mail stays free of the services only its delivery format requires. More... | |
Private Attributes | |
| MailBodyComposer | $body_composer |
| Closure | $to_html_transformation = null |
| readonly ILIAS DI Container | $dic |
Definition at line 27 of file class.ilMimeMail.php.
| ilMimeMail::__construct | ( | ?MailBodyComposer | $body_composer = null | ) |
Definition at line 54 of file class.ilMimeMail.php.
References $body_composer, $DIC, setDefaultTransport(), and ILIAS\Repository\settings().
Here is the call graph for this function:| ilMimeMail::Attach | ( | string | $filename, |
| string | $file_type = '', |
||
| string | $disposition = 'inline', |
||
| ?string | $display_name = null |
||
| ) |
| string | $filename | Path of the file to attach |
| string | $file_type | MIME-type of the file. default to 'application/x-unknown-content-type' |
| string | $disposition | Instruct the Mailclient to display the file if possible ("inline") or always as a link ("attachment") possible values are "inline", "attachment" |
| string | null | $display_name | Filename to use in email (if different from source file) |
Definition at line 197 of file class.ilMimeMail.php.
| ilMimeMail::AttachResource | ( | ResourceIdentification | $resource_identification, |
| string | $display_name, | ||
| string | $file_type = '', |
||
| string | $disposition = 'inline' |
||
| ) |
Definition at line 211 of file class.ilMimeMail.php.
| ilMimeMail::Bcc | ( | $bcc | ) |
| string | string[] | $bcc | BCC email address, accept both a single address or an array of addresses |
Definition at line 133 of file class.ilMimeMail.php.
| ilMimeMail::Body | ( | string | $body, |
| ?Closure | $to_html_transformation = null |
||
| ) |
| Closure(string) | string|null $to_html_transformation |
Definition at line 169 of file class.ilMimeMail.php.
References $body, and $to_html_transformation.
|
private |
Resolved on demand, so that merely constructing a mail stays free of the services only its delivery format requires.
Definition at line 76 of file class.ilMimeMail.php.
|
protected |
Definition at line 260 of file class.ilMimeMail.php.
| ilMimeMail::Cc | ( | $cc | ) |
| string | string[] | $cc | CC email address, accept both a single address or an array of addresses |
Definition at line 121 of file class.ilMimeMail.php.
| ilMimeMail::From | ( | ilMailMimeSender | $sender | ) |
Definition at line 101 of file class.ilMimeMail.php.
References $sender.
| ilMimeMail::getAttachments | ( | ) |
Definition at line 237 of file class.ilMimeMail.php.
| ilMimeMail::getBcc | ( | ) |
Definition at line 161 of file class.ilMimeMail.php.
References $abcc.
Referenced by ilMailMimeTransportBase\send().
Here is the caller graph for this function:| ilMimeMail::getCc | ( | ) |
Definition at line 153 of file class.ilMimeMail.php.
References $acc.
Referenced by ilMailMimeTransportBase\send().
Here is the caller graph for this function:
|
static |
Definition at line 86 of file class.ilMimeMail.php.
References $default_transport.
| ilMimeMail::getFinalBody | ( | ) |
Definition at line 175 of file class.ilMimeMail.php.
References $final_body.
Referenced by ilMailMimeTransportBase\send().
Here is the caller graph for this function:| ilMimeMail::getFinalBodyalt | ( | ) |
Definition at line 180 of file class.ilMimeMail.php.
References $final_body_alt.
Referenced by ilMailMimeTransportBase\send().
Here is the caller graph for this function:| ilMimeMail::getFrom | ( | ) |
Definition at line 185 of file class.ilMimeMail.php.
References $sender.
Referenced by ilMailMimeTransportBase\send().
Here is the caller graph for this function:| ilMimeMail::getImages | ( | ) |
Definition at line 255 of file class.ilMimeMail.php.
Referenced by ilMailMimeTransportBase\send().
Here is the caller graph for this function:| ilMimeMail::getMimeAttachments | ( | ) |
Definition at line 228 of file class.ilMimeMail.php.
Referenced by ilMailMimeTransportBase\send().
Here is the caller graph for this function:| ilMimeMail::getSubject | ( | ) |
Definition at line 96 of file class.ilMimeMail.php.
References $subject.
Referenced by ilMailMimeTransportBase\send().
Here is the caller graph for this function:| ilMimeMail::getTo | ( | ) |
Definition at line 145 of file class.ilMimeMail.php.
References $sendto.
Referenced by ilMailMimeTransportBase\send().
Here is the caller graph for this function:| ilMimeMail::Send | ( | ?ilMailMimeTransport | $transport = null | ) |
Definition at line 271 of file class.ilMimeMail.php.
|
static |
Definition at line 81 of file class.ilMimeMail.php.
Referenced by __construct(), and ilMailMimeTest\setUp().
Here is the caller graph for this function:| ilMimeMail::Subject | ( | string | $subject, |
| bool | $add_prefix = false, |
||
| string | $context_prefix = '' |
||
| ) |
Definition at line 91 of file class.ilMimeMail.php.
References $subject.
| ilMimeMail::To | ( | $to | ) |
| string | string[] | $to | To email address, accept both a single address or an array of addresses |
Definition at line 109 of file class.ilMimeMail.php.
|
protected |
Definition at line 45 of file class.ilMimeMail.php.
Referenced by getBcc().
|
protected |
Definition at line 43 of file class.ilMimeMail.php.
Referenced by getCc().
|
protected |
Definition at line 37 of file class.ilMimeMail.php.
Referenced by Body().
|
private |
Definition at line 49 of file class.ilMimeMail.php.
Referenced by __construct().
|
staticprotected |
Definition at line 31 of file class.ilMimeMail.php.
Referenced by getDefaultTransport().
|
private |
Definition at line 52 of file class.ilMimeMail.php.
|
protected |
Definition at line 38 of file class.ilMimeMail.php.
Referenced by getFinalBody().
|
protected |
Definition at line 39 of file class.ilMimeMail.php.
Referenced by getFinalBodyalt().
|
protected |
Definition at line 46 of file class.ilMimeMail.php.
|
protected |
Definition at line 48 of file class.ilMimeMail.php.
|
protected |
Definition at line 33 of file class.ilMimeMail.php.
|
protected |
Definition at line 41 of file class.ilMimeMail.php.
Referenced by getTo().
|
protected |
Definition at line 35 of file class.ilMimeMail.php.
|
protected |
Definition at line 36 of file class.ilMimeMail.php.
Referenced by getSubject(), and Subject().
|
protected |
Definition at line 34 of file class.ilMimeMail.php.
|
private |
Definition at line 51 of file class.ilMimeMail.php.
Referenced by Body().
| final const string ilMimeMail::MAIL_SUBJECT_PREFIX = '[ILIAS]' |
Definition at line 29 of file class.ilMimeMail.php.
Referenced by ilObjMailGUI\populateExternalSettingsForm().