Public Member Functions | |
setFrom ($address) | |
setSender ($address) | |
getTo () | |
getCC () | |
getBCC () | |
getFrom () | |
addTo ($address) | |
resetTo () | |
addCc ($address) | |
resetCc () | |
addBcc ($address) | |
resetBcc () | |
setSubject ($subject) | |
setBody (Body &$body) | |
addBodyRelatedAttachment (RelatedAttachment &$attachment) | |
resetBodyRelatedAttachment () | |
setAltBody (Body &$body) | |
addAttachment (Attachment &$attachment) | |
resetAttachment () | |
send () | |
Data Fields | |
const | className = __CLASS__ |
$from = null | |
$sender = null | |
$to = array() | |
$cc = array() | |
$bcc = array() | |
$subject = '' | |
$body = null | |
$bodyRelated = array() | |
$altBody = null | |
$attachments = array() | |
Protected Member Functions | |
addressesToString (array $tAddresses) | |
Definition at line 44 of file Class.Message.php.
addAttachment | ( | Attachment & | $attachment | ) |
addBcc | ( | $address | ) |
Add 'Bcc:' recipients.
Address | string | $address |
Definition at line 237 of file Class.Message.php.
addBodyRelatedAttachment | ( | RelatedAttachment & | $attachment | ) |
Add an attachment related to the body (with the use of cid:xxx URLs).
RelatedAttachment | $attachment |
Definition at line 277 of file Class.Message.php.
addCc | ( | $address | ) |
Add 'Cc:' recipients.
Address | string | $address |
Definition at line 215 of file Class.Message.php.
|
protected |
addTo | ( | $address | ) |
Add 'To:' recipients.
Address | string | $address |
Definition at line 193 of file Class.Message.php.
getBCC | ( | ) |
Get Bcc email addresses
Definition at line 159 of file Class.Message.php.
getCC | ( | ) |
Get Cc email addresses
Definition at line 152 of file Class.Message.php.
getFrom | ( | ) |
Get From email address
Definition at line 166 of file Class.Message.php.
getTo | ( | ) |
Get To email addresses
Definition at line 144 of file Class.Message.php.
resetAttachment | ( | ) |
Reset list of attachments.
Definition at line 309 of file Class.Message.php.
resetBcc | ( | ) |
Reset list of 'Bcc:' recipients.
Definition at line 250 of file Class.Message.php.
resetBodyRelatedAttachment | ( | ) |
Reset list of body's related attachments.
Definition at line 284 of file Class.Message.php.
resetCc | ( | ) |
Reset list of 'Cc:' recipients.
Definition at line 228 of file Class.Message.php.
resetTo | ( | ) |
Reset list of 'To:' recipients
Definition at line 206 of file Class.Message.php.
send | ( | ) |
Send the message
Definition at line 318 of file Class.Message.php.
setAltBody | ( | Body & | $body | ) |
Set alternate body (e.g. plain text view of a main HTML body).
Body | $body |
Definition at line 293 of file Class.Message.php.
setBody | ( | Body & | $body | ) |
setFrom | ( | $address | ) |
Set 'From:' address used by the mail's body 'From:' field and the SMTP protocol.
Address | string | $address |
Definition at line 112 of file Class.Message.php.
setSender | ( | $address | ) |
Set SMTP sender transport address ('MAIL FROM:')
Address | string | $address |
Definition at line 128 of file Class.Message.php.
setSubject | ( | $subject | ) |
$altBody = null |
Definition at line 81 of file Class.Message.php.
$attachments = array() |
Definition at line 85 of file Class.Message.php.
$bcc = array() |
Definition at line 68 of file Class.Message.php.
$body = null |
Definition at line 73 of file Class.Message.php.
$bodyRelated = array() |
Definition at line 77 of file Class.Message.php.
$cc = array() |
Definition at line 64 of file Class.Message.php.
$from = null |
Definition at line 50 of file Class.Message.php.
$sender = null |
Definition at line 56 of file Class.Message.php.
$subject = '' |
Definition at line 69 of file Class.Message.php.
$to = array() |
Definition at line 60 of file Class.Message.php.
const className = __CLASS__ |
Definition at line 46 of file Class.Message.php.