public
|
|
public
integer
|
|
public
Swift_Mime_SimpleMessage
|
#
setSubject( string $subject )
Set the subject of this message.
Set the subject of this message.
Parameters
Returns
Implementation of
|
public
string
|
#
getSubject( )
Get the subject of this message.
Get the subject of this message.
Returns
string
Implementation of
|
public
Swift_Mime_SimpleMessage
|
#
setDate( integer $date )
Set the date at which this message was created.
Set the date at which this message was created.
Parameters
Returns
Implementation of
|
public
integer
|
#
getDate( )
Get the date at which this message was created.
Get the date at which this message was created.
Returns
integer
Implementation of
|
public
Swift_Mime_SimpleMessage
|
#
setReturnPath( string $address )
Set the return-path (the bounce address) of this message.
Set the return-path (the bounce address) of this message.
Parameters
Returns
Implementation of
|
public
string
|
#
getReturnPath( )
Get the return-path (bounce address) of this message.
Get the return-path (bounce address) of this message.
Returns
string
Implementation of
|
public
Swift_Mime_SimpleMessage
|
#
setSender( string $address, string $name = null )
Set the sender of this message. This does not override the From field, but it
has a higher significance.
Set the sender of this message. This does not override the From field, but it
has a higher significance.
Parameters
- $address
string $sender
- $name
string $name optional
Returns
Implementation of
|
public
string
|
#
getSender( )
Get the sender of this message.
Get the sender of this message.
Returns
string
Implementation of
|
public
|
#
addFrom( string $address, string $name = null )
Add a From: address to this message.
Add a From: address to this message.
If $name is passed this name will be associated with the address.
Parameters
- $address
string $address
- $name
string $name optional
|
public
Swift_Mime_SimpleMessage
|
#
setFrom( string $addresses, string $name = null )
Set the from address of this message.
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.
Parameters
- $addresses
string $addresses
- $name
string $name optional
Returns
Implementation of
|
public
string
|
#
getFrom( )
Get the from address of this message.
Get the from address of this message.
Returns
string
Implementation of
|
public
Swift_Mime_SimpleMessage
|
#
addReplyTo( string $address, string $name = null )
Add a Reply-To: address to this message.
Add a Reply-To: address to this message.
If $name is passed this name will be associated with the address.
Parameters
- $address
string $address
- $name
string $name optional
Returns
|
public
Swift_Mime_SimpleMessage
|
#
setReplyTo( string $addresses, string $name = null )
Set the reply-to address of this message.
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.
Parameters
- $addresses
string $addresses
- $name
string $name optional
Returns
Implementation of
|
public
string
|
#
getReplyTo( )
Get the reply-to address of this message.
Get the reply-to address of this message.
Returns
string
Implementation of
|
public
Swift_Mime_SimpleMessage
|
#
addTo( string $address, string $name = null )
Add a To: address to this message.
Add a To: address to this message.
If $name is passed this name will be associated with the address.
Parameters
- $address
string $address
- $name
string $name optional
Returns
|
public
Swift_Mime_SimpleMessage
|
#
setTo( array $addresses, string $name = null )
Set the to addresses of this message.
Set the to addresses of this message.
If multiple recipients will receive the message and array should be used.
If $name is passed and the first parameter is a string, this name will be
associated with the address.
Parameters
- $addresses
array $addresses
- $name
string $name optional
Returns
Implementation of
|
public
array
|
#
getTo( )
Get the To addresses of this message.
Get the To addresses of this message.
Returns
array
Implementation of
|
public
Swift_Mime_SimpleMessage
|
#
addCc( string $address, string $name = null )
Add a Cc: address to this message.
Add a Cc: address to this message.
If $name is passed this name will be associated with the address.
Parameters
- $address
string $address
- $name
string $name optional
Returns
|
public
Swift_Mime_SimpleMessage
|
#
setCc( array $addresses, string $name = null )
Set the Cc addresses of this message.
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.
Parameters
- $addresses
array $addresses
- $name
string $name optional
Returns
Implementation of
|
public
array
|
#
getCc( )
Get the Cc address of this message.
Get the Cc address of this message.
Returns
array
Implementation of
|
public
Swift_Mime_SimpleMessage
|
#
addBcc( string $address, string $name = null )
Add a Bcc: address to this message.
Add a Bcc: address to this message.
If $name is passed this name will be associated with the address.
Parameters
- $address
string $address
- $name
string $name optional
Returns
|
public
Swift_Mime_SimpleMessage
|
#
setBcc( array $addresses, string $name = null )
Set the Bcc addresses of this message.
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.
Parameters
- $addresses
array $addresses
- $name
string $name optional
Returns
Implementation of
|
public
array
|
#
getBcc( )
Get the Bcc addresses of this message.
Get the Bcc addresses of this message.
Returns
array
Implementation of
|
public
Swift_Mime_SimpleMessage
|
#
setPriority( integer $priority )
Set the priority of this message. The value is an integer where 1 is the
highest priority and 5 is the lowest.
Set the priority of this message. The value is an integer where 1 is the
highest priority and 5 is the lowest.
Parameters
- $priority
integer $priority
Returns
|
public
integer
|
#
getPriority( )
Get the priority of this message. The returned value is an integer where 1 is
the highest priority and 5 is the lowest.
Get the priority of this message. The returned value is an integer where 1 is
the highest priority and 5 is the lowest.
Returns
integer
|
public
Swift_Mime_SimpleMessage
|
#
setReadReceiptTo( array $addresses )
Ask for a delivery receipt from the recipient to be sent to $addresses
Ask for a delivery receipt from the recipient to be sent to $addresses
Parameters
- $addresses
array $addresses
Returns
|
public
string
|
#
getReadReceiptTo( )
Get the addresses to which a read-receipt will be sent.
Get the addresses to which a read-receipt will be sent.
Returns
string
|
public
Swift_Mime_SimpleMessage
|
|
public
Swift_Mime_SimpleMessage
|
#
detach( Swift_Mime_MimeEntity $entity )
Remove an already attached entity.
Remove an already attached entity.
Parameters
Returns
|
public
string
|
#
embed( Swift_Mime_MimeEntity $entity )
Attach a Swift_Mime_MimeEntity and return it's CID source. This
method should be used when embedding images or other data in a message.
Attach a Swift_Mime_MimeEntity and return it's CID source. This
method should be used when embedding images or other data in a message.
Parameters
Returns
string
|
public
string
|
#
toString( )
Get this message as a complete string.
Get this message as a complete string.
Returns
string
Overrides
Implementation of
|
public
string
|
#
__toString( )
Returns a string representation of this object.
Returns a string representation of this object.
Returns
string
See
Overrides
|
public
|
|
protected
|
|
private
|
#
_becomeMimePart( )
Turn the body of this message into a child of itself if needed
Turn the body of this message into a child of itself if needed
|
private
|
#
_getTopNestingLevel( )
Get the highest nesting level nested inside this message
Get the highest nesting level nested inside this message
|