Property | Type | Description | |
---|---|---|---|
$_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 |
Method | Description | |
---|---|---|
init ( array $toArray = [], array $fromArray = [], string $subject = null, mixed $body = null, array $attachmentArray = [] ) | init the class | |
send ( ) : boolean | send the email |
Method | Description | |
---|---|---|
_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 | ||
return | array |
protected string $_fromString | ||
return | string |
protected string $_headerString | ||
return | string |
protected string $_subjectString | ||
return | string |