PHP Класс Pop\Mail\Message

Автор: Nick Sagona, III ([email protected])
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
$charset string Character set
$eol string EOL property
$html string HTML part of the message body
$mail Message Mail object
$message string Message body
$mimeBoundary string MIME boundary
$text string Text part of the message body

Открытые методы

Метод Описание
__construct ( Mail $mail ) : Message Constructor
getBoundary ( ) : string Get MIME boundary
getCharset ( ) : string Get character set
getEol ( ) : string Get EOL
getHtml ( ) : string Get HTML part of the message.
getMessage ( ) : string Get the message.
getText ( ) : string Get text part of the message.
init ( ) : Message Initialize the email message.
setBoundary ( string $bnd = null ) : Message Set MIME boundary
setCharset ( string $chr ) : Message Set character set
setEol ( string $eol = Mail::CRLF ) : Mail Set EOL
setHtml ( string $html ) : Message Set HTML part of the message.
setText ( string $text ) : Message Set text part of the message.

Защищенные методы

Метод Описание
getMessageType ( ) : string Get message type.

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

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

Instantiate the message object.
public __construct ( Mail $mail ) : Message
$mail Mail
Результат Message

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

Get MIME boundary
public getBoundary ( ) : string
Результат string

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

Get character set
public getCharset ( ) : string
Результат string

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

Get EOL
public getEol ( ) : string
Результат string

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

Get HTML part of the message.
public getHtml ( ) : string
Результат string

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

Get the message.
public getMessage ( ) : string
Результат string

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

Get message type.
protected getMessageType ( ) : string
Результат string

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

Get text part of the message.
public getText ( ) : string
Результат string

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

Initialize the email message.
public init ( ) : Message
Результат Message

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

Set MIME boundary
public setBoundary ( string $bnd = null ) : Message
$bnd string
Результат Message

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

Set character set
public setCharset ( string $chr ) : Message
$chr string
Результат Message

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

Set EOL
public setEol ( string $eol = Mail::CRLF ) : Mail
$eol string
Результат Mail

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

Set HTML part of the message.
public setHtml ( string $html ) : Message
$html string
Результат Message

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

Set text part of the message.
public setText ( string $text ) : Message
$text string
Результат Message

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

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

Character set
protected string $charset
Результат string

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

EOL property
protected string $eol
Результат string

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

HTML part of the message body
protected string $html
Результат string

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

Mail object
protected Message,Pop\Mail $mail
Результат Message

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

Message body
protected string $message
Результат string

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

MIME boundary
protected string $mimeBoundary
Результат string

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

Text part of the message body
protected string $text
Результат string