|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilMimeMail. More...
Collaboration diagram for ilMimeMail:Public Member Functions | |
| __construct () | |
| ilMimeMail constructor. More... | |
| Subject ($subject, $a_add_prefix=false) | |
| getSubject () | |
| From (ilMailMimeSender $sender) | |
| To ($to) | |
| Set the mail recipient. More... | |
| Cc ($cc) | |
| Set the cc mail recipient. More... | |
| Bcc ($bcc) | |
| Set the bcc mail recipient. More... | |
| getTo () | |
| getCc () | |
| getBcc () | |
| Body ($body) | |
| getFinalBody () | |
| getFinalBodyAlt () | |
| getFrom () | |
| Attach ($filename, $file_type='', $disposition='inline', $display_name=null) | |
| Attach a file to the mail. More... | |
| getAttachments () | |
| getImages () | |
| Send (\ilMailMimeTransport $transport=null) | |
Static Public Member Functions | |
| static | setDefaultTransport ($transport) |
| static | getDefaultTransport () |
Protected Member Functions | |
| build () | |
| Build the relevant email data. More... | |
| buildBodyParts ($skin) | |
| getHtmlEnvelope ($skin) | |
| buildHtmlInlineImages ($skin) | |
Protected Attributes | |
| $subject = '' | |
| $body = '' | |
| $finalBody = '' | |
| $finalBodyAlt = '' | |
| $sendto = array() | |
| $acc = array() | |
| $abcc = array() | |
| $images = array() | |
| $aattach = array() | |
| $actype = array() | |
| $adispo = array() | |
| $adisplay = array() | |
| $sender | |
Static Protected Attributes | |
| static | $defaultTransport |
Class ilMimeMail.
Definition at line 7 of file class.ilMimeMail.php.
| ilMimeMail::__construct | ( | ) |
ilMimeMail constructor.
Definition at line 84 of file class.ilMimeMail.php.
References $DIC, $factory, and setDefaultTransport().
Here is the call graph for this function:| ilMimeMail::Attach | ( | $filename, | |
$file_type = '', |
|||
$disposition = 'inline', |
|||
$display_name = null |
|||
| ) |
Attach a file to the mail.
| 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 | $display_name | Filename to use in email (if different from source file) |
Definition at line 254 of file class.ilMimeMail.php.
References $filename.
| ilMimeMail::Bcc | ( | $bcc | ) |
Set the bcc mail recipient.
| string|array | BCC email address, accept both a single address or an array of addresses |
Definition at line 182 of file class.ilMimeMail.php.
| ilMimeMail::Body | ( | $body | ) |
|
protected |
Build the relevant email data.
Definition at line 301 of file class.ilMimeMail.php.
References $body, $DIC, buildBodyParts(), and buildHtmlInlineImages().
Referenced by Send().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
| string | $skin |
Definition at line 322 of file class.ilMimeMail.php.
References $body, getHtmlEnvelope(), and ilUtil\makeClickable().
Referenced by build().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
| string | $skin |
Definition at line 362 of file class.ilMimeMail.php.
Referenced by build().
Here is the caller graph for this function:| ilMimeMail::Cc | ( | $cc | ) |
Set the cc mail recipient.
| string|array | CC email address, accept both a single address or an array of addresses |
Definition at line 169 of file class.ilMimeMail.php.
| ilMimeMail::From | ( | ilMailMimeSender | $sender | ) |
| ilMailMimeSender | $sender |
Definition at line 147 of file class.ilMimeMail.php.
References $sender.
| ilMimeMail::getAttachments | ( | ) |
Definition at line 269 of file class.ilMimeMail.php.
Referenced by ilMailMimeTransportBase\send().
Here is the caller graph for this function:| ilMimeMail::getBcc | ( | ) |
Definition at line 210 of file class.ilMimeMail.php.
References $abcc.
Referenced by ilMailMimeTransportBase\send().
Here is the caller graph for this function:| ilMimeMail::getCc | ( | ) |
Definition at line 202 of file class.ilMimeMail.php.
References $acc.
Referenced by ilMailMimeTransportBase\send().
Here is the caller graph for this function:
|
static |
Definition at line 113 of file class.ilMimeMail.php.
References $defaultTransport.
Referenced by Send().
Here is the caller graph for this function:| ilMimeMail::getFinalBody | ( | ) |
Definition at line 226 of file class.ilMimeMail.php.
References $finalBody.
Referenced by ilMailMimeTransportBase\send().
Here is the caller graph for this function:| ilMimeMail::getFinalBodyAlt | ( | ) |
Definition at line 234 of file class.ilMimeMail.php.
References $finalBodyAlt.
Referenced by ilMailMimeTransportBase\send().
Here is the caller graph for this function:| ilMimeMail::getFrom | ( | ) |
Definition at line 242 of file class.ilMimeMail.php.
References $sender.
Referenced by ilMailMimeTransportBase\send().
Here is the caller graph for this function:
|
protected |
| string | $skin |
Definition at line 344 of file class.ilMimeMail.php.
Referenced by buildBodyParts().
Here is the caller graph for this function:| ilMimeMail::getImages | ( | ) |
Definition at line 293 of file class.ilMimeMail.php.
Referenced by ilMailMimeTransportBase\send().
Here is the caller graph for this function:| ilMimeMail::getSubject | ( | ) |
Definition at line 139 of file class.ilMimeMail.php.
References $subject.
Referenced by ilMailMimeTransportBase\send().
Here is the caller graph for this function:| ilMimeMail::getTo | ( | ) |
Definition at line 194 of file class.ilMimeMail.php.
References $sendto.
Referenced by ilMailMimeTransportBase\send().
Here is the caller graph for this function:| ilMimeMail::Send | ( | \ilMailMimeTransport | $transport = null | ) |
| $transport | \ilMailMimeTransport|null |
Definition at line 402 of file class.ilMimeMail.php.
References build(), and getDefaultTransport().
Here is the call graph for this function:
|
static |
| \ilMailMimeTransport | null | $transport |
InvalidArgumentException
Definition at line 98 of file class.ilMimeMail.php.
Referenced by __construct(), and ilMailMimeTest\setUp().
Here is the caller graph for this function:| ilMimeMail::Subject | ( | $subject, | |
$a_add_prefix = false |
|||
| ) |
| string | $subject | Define the subject line of the email |
| bool | $a_add_prefix |
Definition at line 122 of file class.ilMimeMail.php.
References $subject, and ilMail\getSubjectPrefix().
Here is the call graph for this function:| ilMimeMail::To | ( | $to | ) |
Set the mail recipient.
| string|array | To email address, accept both a single address or an array of addresses |
Definition at line 156 of file class.ilMimeMail.php.
|
protected |
Definition at line 59 of file class.ilMimeMail.php.
|
protected |
Definition at line 48 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 64 of file class.ilMimeMail.php.
|
protected |
Definition at line 74 of file class.ilMimeMail.php.
|
protected |
Definition at line 69 of file class.ilMimeMail.php.
|
protected |
Definition at line 22 of file class.ilMimeMail.php.
Referenced by Body(), build(), and buildBodyParts().
|
staticprotected |
Definition at line 12 of file class.ilMimeMail.php.
Referenced by getDefaultTransport().
|
protected |
Definition at line 27 of file class.ilMimeMail.php.
Referenced by getFinalBody().
|
protected |
Definition at line 32 of file class.ilMimeMail.php.
Referenced by getFinalBodyAlt().
|
protected |
Definition at line 53 of file class.ilMimeMail.php.
|
protected |
Definition at line 79 of file class.ilMimeMail.php.
|
protected |
Definition at line 38 of file class.ilMimeMail.php.
Referenced by getTo().
|
protected |
Definition at line 17 of file class.ilMimeMail.php.
Referenced by getSubject(), and Subject().