TYPO3
7.6
|
Protected Member Functions | |
idnaEncodeAddresses ($addresses) | |
idnaEncodeAddress ($email) | |
Protected Member Functions inherited from Swift_Mime_MimePart | |
_fixHeaders () | |
_setNestingLevel ($level) | |
_convertString ($string) | |
Protected Member Functions inherited from Swift_Mime_SimpleMimeEntity | |
_bodyToString () | |
_bodyToByteStream (Swift_InputByteStream $is) | |
_getIdField () | |
_getHeaderFieldModel ($field) | |
_setHeaderFieldModel ($field, $model) | |
_getHeaderParameter ($field, $parameter) | |
_setHeaderParameter ($field, $parameter, $value) | |
_fixHeaders () | |
_getCache () | |
_getGrammar () | |
_clearCache () | |
getRandomId () | |
Protected Attributes | |
$mailer | |
$mailerHeader = 'TYPO3' | |
$sent = false | |
$failedRecipients = array() | |
Private Member Functions | |
initializeMailer () | |
Additional Inherited Members | |
Public Attributes inherited from Swift_Mime_MimeEntity | |
const | LEVEL_TOP = 16 |
const | LEVEL_MIXED = 256 |
const | LEVEL_ALTERNATIVE = 4096 |
const | LEVEL_RELATED = 65536 |
Adapter for Swift_Mailer to be used by TYPO3 extensions
Definition at line 20 of file MailMessage.php.
getFailedRecipients | ( | ) |
Returns the recipients for which the mail was not accepted for delivery.
Definition at line 82 of file MailMessage.php.
References MailMessage\$failedRecipients.
|
protected |
IDNA encode the domain part of an email address if it contains non ASCII characters
mixed |
Definition at line 243 of file MailMessage.php.
Referenced by MailMessage\idnaEncodeAddresses().
|
protected |
IDNA encode email addresses. Accepts addresses in all formats that SwiftMailer supports
string | array | $addresses |
Definition at line 219 of file MailMessage.php.
References MailMessage\idnaEncodeAddress().
Referenced by MailMessage\setBcc(), MailMessage\setCc(), MailMessage\setFrom(), MailMessage\setReadReceiptTo(), MailMessage\setReplyTo(), MailMessage\setReturnPath(), MailMessage\setSender(), and MailMessage\setTo().
|
private |
isSent | ( | ) |
Checks whether the message has been sent.
Definition at line 72 of file MailMessage.php.
References MailMessage\$sent.
send | ( | ) |
Sends the message.
Definition at line 59 of file MailMessage.php.
References Swift_Mime_MimeEntity\getHeaders(), and MailMessage\initializeMailer().
setBcc | ( | $addresses, | |
$name = null |
|||
) |
Set the Bcc addresses of this message.
If $name is passed and the first parameter is a string, this name will be associated with the address.
string | array | $addresses | |
string | $name | optional |
Implements Swift_Mime_Message.
Definition at line 195 of file MailMessage.php.
References MailMessage\idnaEncodeAddresses().
setCc | ( | $addresses, | |
$name = null |
|||
) |
Set the Cc addresses of this message.
If $name is passed and the first parameter is a string, this name will be associated with the address.
string | array | $addresses | |
string | $name | optional |
Implements Swift_Mime_Message.
Definition at line 179 of file MailMessage.php.
References MailMessage\idnaEncodeAddresses().
setFrom | ( | $addresses, | |
$name = null |
|||
) |
Set the from address of this message.
You may pass an array of addresses if this message is from multiple people.
If $name is passed and the first parameter is a string, this name will be associated with the address.
string | array | $addresses | |
string | $name | optional |
Implements Swift_Mime_Message.
Definition at line 126 of file MailMessage.php.
References MailMessage\idnaEncodeAddresses().
setReadReceiptTo | ( | $addresses | ) |
Ask for a delivery receipt from the recipient to be sent to $addresses.
array | $addresses |
Definition at line 207 of file MailMessage.php.
References MailMessage\idnaEncodeAddresses().
setReplyTo | ( | $addresses, | |
$name = null |
|||
) |
Set the reply-to address of this message.
You may pass an array of addresses if replies will go to multiple people.
If $name is passed and the first parameter is a string, this name will be associated with the address.
string | array | $addresses | |
string | $name | optional |
Implements Swift_Mime_Message.
Definition at line 144 of file MailMessage.php.
References MailMessage\idnaEncodeAddresses().
setReturnPath | ( | $address | ) |
Set the return-path (the bounce address) of this message.
string | $address |
Implements Swift_Mime_Message.
Definition at line 93 of file MailMessage.php.
References MailMessage\idnaEncodeAddresses().
setSender | ( | $address, | |
$name = null |
|||
) |
Set the sender of this message.
This does not override the From field, but it has a higher significance.
string | $address | |
string | $name | optional |
Implements Swift_Mime_Message.
Definition at line 108 of file MailMessage.php.
References MailMessage\idnaEncodeAddresses().
setTo | ( | $addresses, | |
$name = null |
|||
) |
Set the to addresses of this message.
If multiple recipients will receive the message an array should be used. Example: array('recei', ' ver@ domai n.or gother' => 'A name') @dom ain.o rg
If $name is passed and the first parameter is a string, this name will be associated with the address.
string | array | $addresses | |
string | $name | optional |
Implements Swift_Mime_Message.
Definition at line 163 of file MailMessage.php.
References MailMessage\idnaEncodeAddresses().
|
protected |
Definition at line 44 of file MailMessage.php.
Referenced by MailMessage\getFailedRecipients().
|
protected |
Definition at line 25 of file MailMessage.php.
|
protected |
Definition at line 30 of file MailMessage.php.
|
protected |
Definition at line 37 of file MailMessage.php.
Referenced by MailMessage\isSent().