Class

eZMail

class eZMail

Constants

REGEXP

Properties

$ReceiverElements
$From
$CcElements
$BccElements
$ContentType
$UserAgent
$ReplyTo
$Subject
$BodyText
$ExtraHeaders
$TextCodec
$MessageID
$MIMEVersion
ezcMail $Mail Contains an object of type ezcMail, which is used to store the mail elements like subject, to, from, body etc, instead of using the existing class variables ($Subject, $From, $receiversElements, $BodyText etc).

Methods

__construct()

receiverEmailText($convert = true)

receiverText($convert = true)

ccReceiverTextList($convert = true)

bccReceiverTextList($convert = true)

receiverTextList($convert = true)

receiverElements()

ccElements()

bccElements()

replyTo($convert = true)

sender($convert = true)

senderText($convert = true)

mimeVersion()

contentType()

contentCharset()

contentTransferEncoding()

contentDisposition()

userAgent($convert = true)

setMIMEVersion($version)

setContentType($type = false, $charset = false, $transferEncoding = false, $disposition = false, $boundary = false)

setUserAgent($agent)

setReceiverElements($toElements)

setReceiver($email, $name = false)

setReceiverText($text)

addReceiver($email, $name = false)

setReplyTo($email, $name = false)

setSender($email, $name = false)

setSenderText($text)

setCcElements($newCc)

addCc($email, $name = false)

setBccElements($newBcc)

addBcc($email, $name = false)

extraHeaders()

addExtraHeader($headerName, $headerValue)

setExtraHeader($headerName, $headerValue)

setExtraHeaders($headers)

messageID()

setMessageID($newMessageID)

references()

setReferences($newReference)

subject($convert = true)

setSubject($newSubject)

body($convert = true)

setBody($newBody)

composeEmailName($item, $key = false, $convert = true)

composeEmailItems($items, $join = true, $key = false, $convert = true)

headers($parameters = array())

headerTextList($parameters = array())

headerText($parameters = array())

convertHeaderText($text)

encodeMimeHeader($str)

convertText($text, $isHeader = false)

isAllowedCharset($charset)

allowedCharsets()

usedCharset()

outputCharset()

Details

at line 63
public __construct()

at line 100
public receiverEmailText($convert = true)

Parameters

$convert

at line 118
public receiverText($convert = true)

Parameters

$convert

at line 129
public ccReceiverTextList($convert = true)

Parameters

$convert

at line 145
public bccReceiverTextList($convert = true)

Parameters

$convert

at line 163
public receiverTextList($convert = true)

Parameters

$convert

at line 181
public receiverElements()

at line 199
public ccElements()

at line 217
public bccElements()

at line 236
public replyTo($convert = true)

Parameters

$convert

at line 249
public sender($convert = true)

Parameters

$convert

at line 277
public senderText($convert = true)

Parameters

$convert

at line 292
public mimeVersion()

at line 303
public contentType()

at line 315
public contentCharset()

at line 325
public contentTransferEncoding()

at line 336
public contentDisposition()

at line 348
public userAgent($convert = true)

Parameters

$convert

at line 361
public setMIMEVersion($version)

Parameters

$version

at line 373
public setContentType($type = false, $charset = false, $transferEncoding = false, $disposition = false, $boundary = false)

Parameters

$type
$charset
$transferEncoding
$disposition
$boundary

at line 406
public setUserAgent($agent)

Parameters

$agent

at line 417
public setReceiverElements($toElements)

Parameters

$toElements

at line 435
public setReceiver($email, $name = false)

Parameters

$email
$name

at line 449
public setReceiverText($text)

Parameters

$text

at line 462
public addReceiver($email, $name = false)

Parameters

$email
$name

at line 474
public setReplyTo($email, $name = false)

Parameters

$email
$name

at line 486
public setSender($email, $name = false)

Parameters

$email
$name

at line 498
public setSenderText($text)

Parameters

$text

at line 511
public setCcElements($newCc)

Parameters

$newCc

at line 527
public addCc($email, $name = false)

Parameters

$email
$name

at line 539
public setBccElements($newBcc)

Parameters

$newBcc

at line 555
public addBcc($email, $name = false)

Parameters

$email
$name

at line 567
public extraHeaders()

at line 577
public addExtraHeader($headerName, $headerValue)

Parameters

$headerName
$headerValue

at line 589
public setExtraHeader($headerName, $headerValue)

Parameters

$headerName
$headerValue

at line 611
public setExtraHeaders($headers)

Parameters

$headers

at line 623
public messageID()

at line 634
public setMessageID($newMessageID)

Parameters

$newMessageID

at line 645
public references()

at line 655
public setReferences($newReference)

Parameters

$newReference

at line 665
public subject($convert = true)

Parameters

$convert

at line 678
public setSubject($newSubject)

Parameters

$newSubject

at line 690
public body($convert = true)

Parameters

$convert

at line 703
public setBody($newBody)

Parameters

$newBody

at line 821
public composeEmailName($item, $key = false, $convert = true)

Parameters

$item
$key
$convert

at line 843
public composeEmailItems($items, $join = true, $key = false, $convert = true)

Parameters

$items
$join
$key
$convert

at line 869
public headers($parameters = array())

Parameters

$parameters

at line 996
public headerTextList($parameters = array())

Parameters

$parameters

at line 1019
public headerText($parameters = array())

Parameters

$parameters

at line 1043
public convertHeaderText($text)

Parameters

$text

at line 1059
public encodeMimeHeader($str)

Parameters

$str

at line 1097
public convertText($text, $isHeader = false)

Parameters

$text
$isHeader

at line 1118
public isAllowedCharset($charset)

Parameters

$charset

at line 1136
public allowedCharsets()

at line 1148
public usedCharset()

at line 1161
public outputCharset()