PHP Class Pop\Mail\Message

Author: Nick Sagona, III ([email protected])
Afficher le fichier Open project: nicksagona/PopPHP Class Usage Examples

Protected Properties

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

Méthodes publiques

Méthode Description
__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.

Méthodes protégées

Méthode Description
getMessageType ( ) : string Get message type.

Method Details

__construct() public méthode

Instantiate the message object.
public __construct ( Mail $mail ) : Message
$mail Mail
Résultat Message

getBoundary() public méthode

Get MIME boundary
public getBoundary ( ) : string
Résultat string

getCharset() public méthode

Get character set
public getCharset ( ) : string
Résultat string

getEol() public méthode

Get EOL
public getEol ( ) : string
Résultat string

getHtml() public méthode

Get HTML part of the message.
public getHtml ( ) : string
Résultat string

getMessage() public méthode

Get the message.
public getMessage ( ) : string
Résultat string

getMessageType() protected méthode

Get message type.
protected getMessageType ( ) : string
Résultat string

getText() public méthode

Get text part of the message.
public getText ( ) : string
Résultat string

init() public méthode

Initialize the email message.
public init ( ) : Message
Résultat Message

setBoundary() public méthode

Set MIME boundary
public setBoundary ( string $bnd = null ) : Message
$bnd string
Résultat Message

setCharset() public méthode

Set character set
public setCharset ( string $chr ) : Message
$chr string
Résultat Message

setEol() public méthode

Set EOL
public setEol ( string $eol = Mail::CRLF ) : Mail
$eol string
Résultat Mail

setHtml() public méthode

Set HTML part of the message.
public setHtml ( string $html ) : Message
$html string
Résultat Message

setText() public méthode

Set text part of the message.
public setText ( string $text ) : Message
$text string
Résultat Message

Property Details

$charset protected_oe property

Character set
protected string $charset
Résultat string

$eol protected_oe property

EOL property
protected string $eol
Résultat string

$html protected_oe property

HTML part of the message body
protected string $html
Résultat string

$mail protected_oe property

Mail object
protected Message,Pop\Mail $mail
Résultat Message

$message protected_oe property

Message body
protected string $message
Résultat string

$mimeBoundary protected_oe property

MIME boundary
protected string $mimeBoundary
Résultat string

$text protected_oe property

Text part of the message body
protected string $text
Résultat string