Метод | Описание | |
---|---|---|
addAttachment ( |
Adds an attachment. | |
addBcc ( |
Adds a blind carbon copy recipient. | |
addCc ( |
Adds a carbon copy recipient. | |
addHeader ( |
Adds a custom header. | |
addReplyTo ( |
Adds a 'ReplyTo' address. | |
addTo ( |
Adds a recipient. | |
getAttachments ( ) : array | Returns attachments. | |
getBcc ( ) : array | Returns list of blind carbon copy recipients. | |
getBody ( ) : |
Returns message body. | |
getCc ( ) : array | Returns list of carbon copy recipients. | |
getConfirmReadingTo ( ) : |
Returns a reading confirmation address. | |
getFrom ( ) : |
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 ( |
Sets message body. | |
setConfirmReadingTo ( |
Sets a reading confirmation address. | |
setFrom ( |
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. |
public addAttachment ( |
||
$attachment | Attachment | |
Результат | self |
public addBcc ( |
||
$bcc | New recipient | |
Результат | self |
public addCc ( |
||
$cc | New recipient | |
Результат | self |
public addHeader ( |
||
$header | Header | |
Результат | self |
public addReplyTo ( |
||
$replyTo | ||
Результат | self |
public addTo ( |
||
$to | New recipient | |
Результат | self |
public getAttachments ( ) : array | ||
Результат | array |
public getBody ( ) : |
||
Результат |
public getConfirmReadingTo ( ) : |
||
Результат |
public getInReplyTo ( ) : string | ||
Результат | string |
public getPriority ( ) : integer | ||
Результат | integer |
public getReferences ( ) : array | ||
Результат | array |
public getReplyTo ( ) : array | ||
Результат | array |
public hasInlineAttachments ( ) : boolean | ||
Результат | boolean |
public setBody ( |
||
$body | Body | |
Результат | self |
public setConfirmReadingTo ( |
||
$confirmReadingTo | Confirmation recipient | |
Результат | self |
public setFrom ( |
||
$from | Message sender | |
Результат | self |
public setInReplyTo ( string $inReplyTo, array $references = [] ) : self | ||
$inReplyTo | string | Message Id |
$references | array | Previous mail references |
Результат | self |
public setPriority ( integer $priority ) : self | ||
$priority | integer | Priority |
Результат | self |
public setSubject ( string $subject ) : self | ||
$subject | string | Subject |
Результат | self |