TYPO3
7.6
|
Public Member Functions | |
generateId () | |
setSubject ($subject) | |
getSubject () | |
setDate ($date) | |
getDate () | |
setReturnPath ($address) | |
getReturnPath () | |
setSender ($address, $name=null) | |
getSender () | |
setFrom ($addresses, $name=null) | |
getFrom () | |
setReplyTo ($addresses, $name=null) | |
getReplyTo () | |
setTo ($addresses, $name=null) | |
getTo () | |
setCc ($addresses, $name=null) | |
getCc () | |
setBcc ($addresses, $name=null) | |
getBcc () | |
Public Member Functions inherited from Swift_Mime_MimeEntity | |
getNestingLevel () | |
getContentType () | |
getId () | |
getChildren () | |
setChildren (array $children) | |
getHeaders () | |
getBody () | |
setBody ($body, $contentType=null) | |
toString () | |
toByteStream (Swift_InputByteStream $is) | |
Public Member Functions inherited from Swift_Mime_CharsetObserver | |
charsetChanged ($charset) | |
Public Member Functions inherited from Swift_Mime_EncodingObserver | |
encoderChanged (Swift_Mime_ContentEncoder $encoder) | |
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 |
A Message (RFC 2822) object.
Definition at line 16 of file vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/Message.php.
generateId | ( | ) |
Generates a valid Message-ID and switches to it.
Referenced by MboxTransport\send(), Swift_Transport_SendmailTransport\send(), Swift_Transport_MailTransport\send(), and Swift_Transport_AbstractSmtpTransport\send().
getBcc | ( | ) |
Get the Bcc addresses for this message.
This method always returns an associative array, whereby the keys provide the actual email addresses.
Implemented in Swift_Mime_SimpleMessage.
Referenced by Swift_Transport_NullTransport\send(), MboxTransport\send(), Swift_Transport_SendmailTransport\send(), Swift_Transport_MailTransport\send(), and Swift_Transport_AbstractSmtpTransport\send().
getCc | ( | ) |
Get the Cc addresses for this message.
This method always returns an associative array, whereby the keys provide the actual email addresses.
Implemented in Swift_Mime_SimpleMessage.
Referenced by Swift_Transport_NullTransport\send(), MboxTransport\send(), Swift_Transport_SendmailTransport\send(), Swift_Transport_MailTransport\send(), and Swift_Transport_AbstractSmtpTransport\send().
getDate | ( | ) |
Get the origination date of the message as a UNIX timestamp.
Implemented in Swift_Mime_SimpleMessage.
Referenced by MboxTransport\send().
getFrom | ( | ) |
Get the From address(es) of this message.
This method always returns an associative array where the keys are the addresses.
Implemented in Swift_Mime_SimpleMessage.
Referenced by Swift_Transport_MailTransport\_getReversePath(), Swift_Transport_AbstractSmtpTransport\_getReversePath(), and MboxTransport\getReversePath().
getReplyTo | ( | ) |
Get the Reply-To addresses for this message.
This method always returns an associative array where the keys provide the email addresses.
Implemented in Swift_Mime_SimpleMessage.
getReturnPath | ( | ) |
Get the return-path (bounce-detect) address.
Implemented in Swift_Mime_SimpleMessage.
Referenced by Swift_Transport_MailTransport\_getReversePath(), Swift_Transport_AbstractSmtpTransport\_getReversePath(), and MboxTransport\getReversePath().
getSender | ( | ) |
Get the sender address for this message.
This has a higher significance than the From address.
Implemented in Swift_Mime_SimpleMessage.
Referenced by Swift_Transport_MailTransport\_getReversePath(), Swift_Transport_AbstractSmtpTransport\_getReversePath(), and MboxTransport\getReversePath().
getSubject | ( | ) |
getTo | ( | ) |
Get the To addresses for this message.
This method always returns an associative array, whereby the keys provide the actual email addresses.
Implemented in Swift_Mime_SimpleMessage.
Referenced by Swift_Transport_NullTransport\send(), MboxTransport\send(), Swift_Mailer\send(), Swift_Transport_SendmailTransport\send(), Swift_Transport_MailTransport\send(), and Swift_Transport_AbstractSmtpTransport\send().
setBcc | ( | $addresses, | |
$name = null |
|||
) |
Set the Bcc address(es).
Recipients set in this field will receive a 'blind-carbon-copy' of this message.
In other words, they will get the message, but any other recipients of the message will have no such knowledge of their receipt of it.
This method has the same synopsis as setFrom() and setTo().
mixed | $addresses | |
string | $name | optional |
Implemented in Swift_Mime_SimpleMessage, and MailMessage.
Referenced by Swift_Plugins_RedirectingPlugin\_restoreMessage(), Swift_Transport_AbstractSmtpTransport\_sendBcc(), and Swift_Transport_AbstractSmtpTransport\send().
setCc | ( | $addresses, | |
$name = null |
|||
) |
Set the Cc address(es).
Recipients set in this field will receive a 'carbon-copy' of this message.
This method has the same synopsis as setFrom() and setTo().
mixed | $addresses | |
string | $name | optional |
Implemented in Swift_Mime_SimpleMessage, and MailMessage.
Referenced by Swift_Plugins_RedirectingPlugin\_restoreMessage().
setDate | ( | $date | ) |
Set the origination date of the message as a UNIX timestamp.
int | $date |
Implemented in Swift_Mime_SimpleMessage.
setFrom | ( | $addresses, | |
$name = null |
|||
) |
Set the From address of this message.
It is permissible for multiple From addresses to be set using an array.
If multiple From addresses are used, you SHOULD set the Sender address and according to RFC 2822, MUST set the sender address.
An array can be used if display names are to be provided: i.e. array('email' => 'Real Name'). @add ress. com
If the second parameter is provided and the first is a string, then $name is associated with the address.
mixed | $addresses | |
string | $name | optional |
Implemented in Swift_Mime_SimpleMessage, and MailMessage.
setReplyTo | ( | $addresses, | |
$name = null |
|||
) |
Set the Reply-To address(es).
Any replies from the receiver will be sent to this address.
It is permissible for multiple reply-to addresses to be set using an array.
This method has the same synopsis as setFrom() and setTo().
If the second parameter is provided and the first is a string, then $name is associated with the address.
mixed | $addresses | |
string | $name | optional |
Implemented in Swift_Mime_SimpleMessage, and MailMessage.
setReturnPath | ( | $address | ) |
Set the return-path (bounce-detect) address.
string | $address |
Implemented in Swift_Mime_SimpleMessage, and MailMessage.
setSender | ( | $address, | |
$name = null |
|||
) |
Set the sender of this message.
If multiple addresses are present in the From field, this SHOULD be set.
According to RFC 2822 it is a requirement when there are multiple From addresses, but Swift itself does not require it directly.
An associative array (with one element!) can be used to provide a display- name: i.e. array('email' => 'Real Name').
If the second parameter is provided and the first is a string, then $name is associated with the address.
mixed | $address | |
string | $name | optional |
Implemented in Swift_Mime_SimpleMessage, and MailMessage.
setSubject | ( | $subject | ) |
setTo | ( | $addresses, | |
$name = null |
|||
) |
Set the To address(es).
Recipients set in this field will receive a copy of this message.
This method has the same synopsis as setFrom() and setCc().
If the second parameter is provided and the first is a string, then $name is associated with the address.
mixed | $addresses | |
string | $name | optional |
Implemented in Swift_Mime_SimpleMessage, and MailMessage.
Referenced by Swift_Plugins_RedirectingPlugin\_restoreMessage().