Свойство | Тип | Описание | |
---|---|---|---|
$arrFailures | array | Invalid addresses | |
$blnEmbedImages | boolean | Embed images | |
$intPriority | integer | E-mail priority | |
$objMessage | Swift_Message | Message object | |
$strCharset | string | Character set | |
$strHtml | string | HTML part of the e-mail | |
$strImageDir | string | Image directory | |
$strLogFile | string | Log file name | |
$strSender | string | Sender e-mail address | |
$strSenderName | string | Sender name | |
$strSubject | string | E-mail subject | |
$strText | string | Text part of the e-mail |
Метод | Описание | |
---|---|---|
__construct ( ) | Instantiate the object and load the mailer framework | |
__get ( string $strKey ) : mixed | Return an object property | |
__set ( string $strKey, mixed $varValue ) | Set an object property | |
addHeader ( string $strKey, string $strValue ) | Add a custom text header | |
attachFile ( string $strFile, string $strMime = 'application/octet-stream' ) | Attach a file | |
attachFileFromString ( string $strContent, string $strFilename, string $strMime = 'application/octet-stream' ) | Attach a file from a string | |
hasFailures ( ) : boolean | Return true if there are failures | |
replyTo ( ) | Add ReplyTo e-mail addresses | |
sendBcc ( ) | Add BCC e-mail addresses | |
sendCc ( ) | Add CC e-mail addresses | |
sendTo ( ) : boolean | Send the e-mail |
Метод | Описание | |
---|---|---|
compileRecipients ( array $arrRecipients ) : array | Extract the e-mail addresses from the func_get_args() arguments |
public __construct ( ) |
public attachFile ( string $strFile, string $strMime = 'application/octet-stream' ) | ||
$strFile | string | The file path |
$strMime | string | The MIME type (defaults to "application/octet-stream") |
protected compileRecipients ( array $arrRecipients ) : array | ||
$arrRecipients | array | The recipients array |
Результат | array | An array of e-mail addresses |
public hasFailures ( ) : boolean | ||
Результат | boolean | True if there are failures |
public replyTo ( ) |
public sendBcc ( ) |
public sendCc ( ) |
protected Swift_Message $objMessage | ||
Результат | Swift_Message |