Method |
Description |
|
addAttachment ( Attachment $attachment ) : self |
Adds an attachment. |
|
addBcc ( Address $bcc ) : self |
Adds a blind carbon copy recipient. |
|
addCc ( Address $cc ) : self |
Adds a carbon copy recipient. |
|
addHeader ( Header $header ) : self |
Adds a custom header. |
|
addReplyTo ( Address $replyTo ) : self |
Adds a 'ReplyTo' address. |
|
addTo ( Address $to ) : self |
Adds a recipient. |
|
getAttachments ( ) : array |
Returns attachments. |
|
getBcc ( ) : array |
Returns list of blind carbon copy recipients. |
|
getBody ( ) : Body |
Returns message body. |
|
getCc ( ) : array |
Returns list of carbon copy recipients. |
|
getConfirmReadingTo ( ) : Address | null |
Returns a reading confirmation address. |
|
getFrom ( ) : Address | null |
Returns sender address. |
|
getHeaders ( ) : array |
Returns custom headers. |
|
getInReplyTo ( ) : string |
Returns Id of the message this is a response to. |
|
getPriority ( ) : integer |
Returns message priority. |
|
getReferences ( ) : array |
Returns references to previous messages in the thread. |
|
getReplyTo ( ) : array |
Returns the 'ReplyTo' address. |
|
getSubject ( ) : string |
Returns subject. |
|
getTo ( ) : array |
Returns list of message recipients. |
|
hasInlineAttachments ( ) : boolean |
Checks if the message contains any attachments. |
|
setBody ( Body $body ) : self |
Sets message body. |
|
setConfirmReadingTo ( Address $confirmReadingTo ) : self |
Sets a reading confirmation address. |
|
setFrom ( Address $from ) : self |
Sets sender address. |
|
setInReplyTo ( string $inReplyTo, array $references = [] ) : self |
Sets Id of the message this is a response to. |
|
setPriority ( integer $priority ) : self |
Sets message priority. |
|
setSubject ( string $subject ) : self |
Sets subject. |
|