PHP Класс Redaxscript\Mailer

С версии: 2.0.0
Автор: Henry Ruhs
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$_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

Описание методов

_createBodyString() защищенный Метод

create the body contents
С версии: 2.0.0
protected _createBodyString ( )

_createFromString() защищенный Метод

create the recipient contents
С версии: 2.0.0
protected _createFromString ( )

_createHeaderString() защищенный Метод

create the header contents
С версии: 2.0.0
protected _createHeaderString ( )

_createSubjectString() защищенный Метод

create the subject contents
С версии: 2.0.0
protected _createSubjectString ( )

init() публичный Метод

init the class
С версии: 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() публичный Метод

send the email
С версии: 2.6.2
public send ( ) : boolean
Результат boolean

Описание свойств

$_attachmentArray защищенное свойство

array of attachments
protected array $_attachmentArray
Результат array

$_body защищенное свойство

body of the email
protected mixed $_body
Результат mixed

$_bodyString защищенное свойство

built body contents
protected string $_bodyString
Результат string

$_fromArray защищенное свойство

array of sender
protected array $_fromArray
Результат array

$_fromString защищенное свойство

built recipient contents
protected string $_fromString
Результат string

$_headerString защищенное свойство

built header contents
protected string $_headerString
Результат string

$_subject защищенное свойство

subject of the email
protected string $_subject
Результат string

$_subjectString защищенное свойство

built subject contents
protected string $_subjectString
Результат string

$_toArray защищенное свойство

array of recipient
protected array $_toArray
Результат array