PHP Class Redaxscript\Mailer

Since: 2.0.0
Author: Henry Ruhs
Afficher le fichier Open project: redaxmedia/redaxscript Class Usage Examples

Protected Properties

Свойство 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

Méthodes publiques

Méthode Description
init ( array $toArray = [], array $fromArray = [], string $subject = null, mixed $body = null, array $attachmentArray = [] ) init the class
send ( ) : boolean send the email

Méthodes protégées

Méthode Description
_createBodyString ( ) create the body contents
_createFromString ( ) create the recipient contents
_createHeaderString ( ) create the header contents
_createSubjectString ( ) create the subject contents

Method Details

_createBodyString() protected méthode

create the body contents
Since: 2.0.0
protected _createBodyString ( )

_createFromString() protected méthode

create the recipient contents
Since: 2.0.0
protected _createFromString ( )

_createHeaderString() protected méthode

create the header contents
Since: 2.0.0
protected _createHeaderString ( )

_createSubjectString() protected méthode

create the subject contents
Since: 2.0.0
protected _createSubjectString ( )

init() public méthode

init the class
Since: 2.4.0
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

send() public méthode

send the email
Since: 2.6.2
public send ( ) : boolean
Résultat boolean

Property Details

$_attachmentArray protected_oe property

array of attachments
protected array $_attachmentArray
Résultat array

$_body protected_oe property

body of the email
protected mixed $_body
Résultat mixed

$_bodyString protected_oe property

built body contents
protected string $_bodyString
Résultat string

$_fromArray protected_oe property

array of sender
protected array $_fromArray
Résultat array

$_fromString protected_oe property

built recipient contents
protected string $_fromString
Résultat string

$_headerString protected_oe property

built header contents
protected string $_headerString
Résultat string

$_subject protected_oe property

subject of the email
protected string $_subject
Résultat string

$_subjectString protected_oe property

built subject contents
protected string $_subjectString
Résultat string

$_toArray protected_oe property

array of recipient
protected array $_toArray
Résultat array