\Colibri\IO\MailMessage

Письмо

Summary

Methods
Properties
Constants
__construct()
__get()
__set()
IncludeEmbededImages()
$id
$priority
$charset
$contenttype
$errorinfo
$encoding
$from
$subject
$body
$altbody
$wordwrap
$confirmreadingto
$returnpath
$to
$cc
$bcc
$replyto
$attachments
$customheader
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$id

$id : string

ID письма

Type

string

$priority

$priority : integer

Приоритет

Type

integer

$charset

$charset : string

Чарсет

Type

string

$contenttype

$contenttype : string

Тип контента

Type

string

$errorinfo

$errorinfo : string

Информация об ошибке

Type

string

$encoding

$encoding : string

Кодировка письма

Type

string

$subject

$subject : string

Тема письма

Type

string

$body

$body : string

Содержание письма

Type

string

$altbody

$altbody : string

Дополнительные данные в письме

Type

string

$wordwrap

$wordwrap : integer

Нужно ли врапить текст и сколько символов должна быть строка

Type

integer

$confirmreadingto

$confirmreadingto : string

Адрес, куда подтверждать прочтение

Type

string

$returnpath

$returnpath : string

Куда отправлять письмо, если не смогли доставить

Type

string

$attachments

$attachments : \Colibri\IO\Mail\AttachmentsList

Вложения

Type

\Colibri\IO\Mail\AttachmentsList

$customheader

$customheader : array

Дополнительные данные в заголовках

Type

array

Methods

__construct()

__construct(\Colibri\IO\Mail\Address|string  $from = null, \Colibri\IO\Mail\Address|string  $to = null, string  $subject = '') 

Конструктор

Parameters

\Colibri\IO\Mail\Address|string $from
\Colibri\IO\Mail\Address|string $to
string $subject

__get()

__get(string  $property) : mixed

Геттер

Parameters

string $property

Returns

mixed

__set()

__set(string  $property, mixed  $value) 

Сеттер

Parameters

string $property
mixed $value

IncludeEmbededImages()

IncludeEmbededImages(\Colibri\IO\Mail\Message  $message, string  $basedir = '') : void

Включить вложенное изображения

Parameters

\Colibri\IO\Mail\Message $message
string $basedir