Свойство | Тип | Описание | |
---|---|---|---|
$_attachmentArray | array | array of attachments | |
$_body | mixed | body of the email | |
$_bodyString | string | built body contents | |
$_fromArray | array | array of sender | |
$_fromString | string | built recipient contents | |
$_headerString | string | built header contents | |
$_subject | string | subject of the email | |
$_subjectString | string | built subject contents | |
$_toArray | array | array of recipient |
Метод | Описание | |
---|---|---|
init ( array $toArray = [], array $fromArray = [], string $subject = null, mixed $body = null, array $attachmentArray = [] ) | init the class | |
send ( ) : boolean | send the email |
Метод | Описание | |
---|---|---|
_createBodyString ( ) | create the body contents | |
_createFromString ( ) | create the recipient contents | |
_createHeaderString ( ) | create the header contents | |
_createSubjectString ( ) | create the subject contents |
protected _createSubjectString ( ) |
public init ( array $toArray = [], array $fromArray = [], string $subject = null, mixed $body = null, array $attachmentArray = [] ) | ||
$toArray | array | array of recipient |
$fromArray | array | array of sender |
$subject | string | subject of the email |
$body | mixed | body of the email |
$attachmentArray | array | array of attachments |
protected array $_attachmentArray | ||
Результат | array |
protected string $_fromString | ||
Результат | string |
protected string $_headerString | ||
Результат | string |
protected string $_subjectString | ||
Результат | string |