Method |
Description |
|
__construct ( Swift_Mime_HeaderSet $headers, Swift_Mime_ContentEncoder $encoder, Swift_KeyCache $cache, Swift_IdGenerator $idGenerator, string $charset = null ) |
Create a new SimpleMessage with $headers, $encoder and $cache. |
|
__toString ( ) : string |
Returns a string representation of this object. |
|
addBcc ( string $address, string $name = null ) |
Add a Bcc: address to this message. |
|
addBcc ( string $address, string $name = null ) : Swift_Mime_SimpleMessage |
Add a Bcc: address to this message. |
|
addCc ( string $address, string $name = null ) |
Add a Cc: address to this message. |
|
addCc ( string $address, string $name = null ) : Swift_Mime_SimpleMessage |
Add a Cc: address to this message. |
|
addFrom ( string $address, string $name = null ) |
Add a From: address to this message. |
|
addFrom ( string $address, string $name = null ) : Swift_Mime_SimpleMessage |
Add a From: address to this message. |
|
addReplyTo ( string $address, string $name = null ) |
Add a Reply-To: address to this message. |
|
addReplyTo ( string $address, string $name = null ) : Swift_Mime_SimpleMessage |
Add a Reply-To: address to this message. |
|
addTo ( string $address, string $name = null ) |
Add a To: address to this message. |
|
addTo ( string $address, string $name = null ) : Swift_Mime_SimpleMessage |
Add a To: address to this message. |
|
attach ( Swift_Mime_MimeEntity $entity ) |
Attach a {@link Swift_Mime_MimeEntity} such as an Attachment or MimePart. |
|
attach ( Swift_Mime_MimeEntity $entity ) : Swift_Mime_SimpleMessage |
Attach a {@link Swift_Mime_MimeEntity} such as an Attachment or MimePart. |
|
detach ( Swift_Mime_MimeEntity $entity ) |
Remove an already attached entity. |
|
detach ( Swift_Mime_MimeEntity $entity ) : Swift_Mime_SimpleMessage |
Remove an already attached entity. |
|
embed ( Swift_Mime_MimeEntity $entity ) : string |
Attach a {@link Swift_Mime_MimeEntity} and return it's CID source. |
|
getBcc ( ) : array |
Get the Bcc addresses of this message. |
|
getCc ( ) : array |
Get the Cc address of this message. |
|
getDate ( ) : DateTimeInterface |
Get the date at which this message was created. |
|
getFrom ( ) : mixed |
Get the from address of this message. |
|
getNestingLevel ( ) : integer |
Always returns {@link LEVEL_TOP} for a message instance. |
|
getPriority ( ) : integer |
Get the priority of this message. |
|
getReadReceiptTo ( ) : string |
Get the addresses to which a read-receipt will be sent. |
|
getReplyTo ( ) : string |
Get the reply-to address of this message. |
|
getReturnPath ( ) : string |
Get the return-path (bounce address) of this message. |
|
getSender ( ) : string |
Get the sender of this message. |
|
getSubject ( ) : string |
Get the subject of this message. |
|
getTo ( ) : array |
Get the To addresses of this message. |
|
setBcc ( mixed $addresses, string $name = null ) |
Set the Bcc addresses of this message. |
|
setBcc ( mixed $addresses, string $name = null ) : Swift_Mime_SimpleMessage |
Set the Bcc addresses of this message. |
|
setCc ( mixed $addresses, string $name = null ) |
Set the Cc addresses of this message. |
|
setCc ( mixed $addresses, string $name = null ) : Swift_Mime_SimpleMessage |
Set the Cc addresses of this message. |
|
setDate ( DateTimeInterface $dateTime ) |
Set the date at which this message was created. |
|
setDate ( DateTimeInterface $dateTime ) : Swift_Mime_SimpleMessage |
Set the date at which this message was created. |
|
setFrom ( string | array $addresses, string $name = null ) |
Set the from address of this message. |
|
setFrom ( string | array $addresses, string $name = null ) : Swift_Mime_SimpleMessage |
Set the from address of this message. |
|
setPriority ( integer $priority ) |
Set the priority of this message. |
|
setPriority ( integer $priority ) : Swift_Mime_SimpleMessage |
Set the priority of this message. |
|
setReadReceiptTo ( array $addresses ) |
Ask for a delivery receipt from the recipient to be sent to $addresses. |
|
setReadReceiptTo ( array $addresses ) : Swift_Mime_SimpleMessage |
Ask for a delivery receipt from the recipient to be sent to $addresses. |
|
setReplyTo ( mixed $addresses, string $name = null ) |
Set the reply-to address of this message. |
|
setReplyTo ( mixed $addresses, string $name = null ) : Swift_Mime_SimpleMessage |
Set the reply-to address of this message. |
|
setReturnPath ( string $address ) |
Set the return-path (the bounce address) of this message. |
|
setReturnPath ( string $address ) : Swift_Mime_SimpleMessage |
Set the return-path (the bounce address) of this message. |
|
setSender ( string $address, string $name = null ) |
Set the sender of this message. |
|
setSender ( string $address, string $name = null ) : Swift_Mime_SimpleMessage |
Set the sender of this message. |
|
setSubject ( string $subject ) |
Set the subject of this message. |
|
setSubject ( string $subject ) : Swift_Mime_SimpleMessage |
Set the subject of this message. |
|
setTo ( mixed $addresses, string $name = null ) |
Set the to addresses of this message. |
|
setTo ( mixed $addresses, string $name = null ) : Swift_Mime_SimpleMessage |
Set the to addresses of this message. |
|
toByteStream ( Swift_InputByteStream $is ) |
Write this message to a {@link Swift_InputByteStream}. |
|
toString ( ) : string |
Get this message as a complete string. |
|