Свойство | Тип | Описание | |
---|---|---|---|
$bcc | string | Contains the blind carbon copy recipients | |
$cc | string | Contains the carbon copy recipients | |
$from | string | Contains the from email address | |
$subject | string | Contains the email subject | |
$to | string | Contains the email addresses of the recipients | |
$type | string | Static type of the document |
Метод | Описание | |
---|---|---|
getBcc ( ) : string | Returns the blind carbon copy receivers | |
getBccAsArray ( ) : array | Returns the blind carbon copy receivers as array | |
getCc ( ) : string | Returns the carbon copy receivers | |
getCcAsArray ( ) : array | Returns the carbon copy receivers as array | |
getFrom ( ) : string | Returns the "from" email address | |
getFromAsArray ( ) : array | Returns the "from" email address as array | |
getSubject ( ) : string | Returns the email subject | |
getTo ( ) : string | Returns the "to" receivers | |
getToAsArray ( ) : array | Returns the "to" receivers as array | |
setBcc ( string $bcc ) | Sets the blind carbon copy receivers (multiple receivers should be separated with a ",") | |
setCc ( string $cc ) | Sets the carbon copy receivers (multiple receivers should be separated with a ",") | |
setFrom ( string $from ) | Sets the "from" email address | |
setSubject ( string $subject ) | Contains the email subject | |
setTo ( string $to ) | Sets the "to" receiver | |
validateEmailAddress ( $emailAddress ) : string | null | Helper to validate a email address |
Метод | Описание | |
---|---|---|
getAsArray ( $key ) : array | Helper to return receivers as array |
protected getAsArray ( $key ) : array | ||
$key | ||
Результат | array |
public getBccAsArray ( ) : array | ||
Результат | array |
public getCcAsArray ( ) : array | ||
Результат | array |
public getFromAsArray ( ) : array | ||
Результат | array |
public getSubject ( ) : string | ||
Результат | string |
public getToAsArray ( ) : array | ||
Результат | array |
public setSubject ( string $subject ) | ||
$subject | string |
public static validateEmailAddress ( $emailAddress ) : string | null | ||
$emailAddress | ||
Результат | string | null | | null - returns "null" if the email address is invalid otherwise the email address is returned |
public string $bcc | ||
Результат | string |
public string $to | ||
Результат | string |