lib/ezutils/classes/ezmail.php

Show: inherited
Table of Contents

File containing the eZMail class.

Copyright
Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.  
License
eZ Business Use License Agreement Version 2.0  
Package
lib  
Version
4.6.0  

\eZMail

Package: lib

File containing the eZMail class.

Copyright
Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.  
License
eZ Business Use License Agreement Version 2.0  
Version
4.6.0  

Constants

Constant  REGEXP = '(((\"[^\"\f\n\r\t\v\b]+\")|([A-Za-z0-9_\!\#\$\%\&\'\*\+\-\~\/\^\`\|\{\}]+(\.[A-Za-z0-9_\!\#\$\%\&\'\*\+\-\~\/\^\`\|\{\}]+)*))@((\[(((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9])))\])|(((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9])))|((([A-Za-z0-9\-])+\.)+[A-Za-z\-]{2,})))'

Properties

Propertypublic  $BccElements= ''
Details
Type
n/a
Propertypublic  $BodyText= ''
Details
Type
n/a
Propertypublic  $CcElements= ''
Details
Type
n/a
Propertypublic  $ContentType= ''
Details
Type
n/a
Propertypublic  $ExtraHeaders= ''
Details
Type
n/a
Propertypublic  $From= ''
Details
Type
n/a
Propertypublic  $MIMEVersion= ''
Details
Type
n/a
Propertypublic\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).

Details
Type
\ezcMail
Propertypublic  $MessageID= ''
Details
Type
n/a
Propertypublic  $ReceiverElements= ''
Details
Type
n/a
Propertypublic  $ReplyTo= ''
Details
Type
n/a
Propertypublic  $Subject= ''
Details
Type
n/a
Propertypublic  $TextCodec= ''
Details
Type
n/a
Propertypublic  $UserAgent= ''
Details
Type
n/a

Methods

methodpublicaddBcc(  $email,  $name = false ) : void

Parameters
Name Type Description
$email
$name
methodpublicaddCc(  $email,  $name = false ) : void

Parameters
Name Type Description
$email
$name
methodpublicaddExtraHeader(  $headerName,  $headerValue ) : void

Parameters
Name Type Description
$headerName
$headerValue
methodpublicaddReceiver(  $email,  $name = false ) : void

Parameters
Name Type Description
$email
$name
methodpublicallowedCharsets( ) : void

methodpublicbccElements( ) : void

methodpublicbccReceiverTextList(  $convert = true ) : void

Parameters
Name Type Description
$convert
methodpublicblankNewlines(  $text ) : void
static

Parameters
Name Type Description
$text
methodpublicbody(  $convert = true ) : void

Parameters
Name Type Description
$convert
methodpublicccElements( ) : void

methodpublicccReceiverTextList(  $convert = true ) : void

Parameters
Name Type Description
$convert
methodpubliccomposeEmailItems(  $items,  $join = true,  $key = false,  $convert = true ) : void

Parameters
Name Type Description
$items
$join
$key
$convert
methodpubliccomposeEmailName(  $item,  $key = false,  $convert = true ) : void

Parameters
Name Type Description
$item
$key
$convert
methodpubliccontentCharset( ) : void

methodpubliccontentDisposition( ) : void

methodpubliccontentString(  $content ) : void
static

Parameters
Name Type Description
$content
methodpubliccontentTransferEncoding( ) : void

methodpubliccontentType( ) : void

methodpublicconvertHeaderText(  $text ) : void

Parameters
Name Type Description
$text
methodpublicconvertText(  $text,  $isHeader = false ) : void

Parameters
Name Type Description
$text
$isHeader
methodpubliceZMail( ) : void

methodpublicencodeMimeHeader(  $str ) : void

Parameters
Name Type Description
$str
methodpublicextraHeaders( ) : void

methodpublicextractEmail(  $text,  $email,  $name ) : void
static

Parameters
Name Type Description
$text
$email
$name
methodpublicheaderText(  $parameters = array() ) : void

Parameters
Name Type Description
$parameters
methodpublicheaderTextList(  $parameters = array() ) : void

Parameters
Name Type Description
$parameters
methodpublicheaders(  $parameters = array() ) : void

Parameters
Name Type Description
$parameters
methodpublicisAllowedCharset(  $charset ) : void

Parameters
Name Type Description
$charset
methodpubliclineSeparator( ) : void
static

methodpublicmessageID( ) : void

methodpublicmimeVersion( ) : void

methodpublicoutputCharset( ) : void

methodpublicreceiverElements( ) : void

methodpublicreceiverEmailText(  $convert = true ) : void

Parameters
Name Type Description
$convert
methodpublicreceiverText(  $convert = true ) : void

Parameters
Name Type Description
$convert
methodpublicreceiverTextList(  $convert = true ) : void

Parameters
Name Type Description
$convert
methodpublicreferences( ) : void

methodpublicreplyTo(  $convert = true ) : void

Parameters
Name Type Description
$convert
methodpublicsender(  $convert = true ) : void

Parameters
Name Type Description
$convert
methodpublicsenderText(  $convert = true ) : void

Parameters
Name Type Description
$convert
methodpublicsetBccElements(  $newBcc ) : void

Parameters
Name Type Description
$newBcc
methodpublicsetBody(  $newBody ) : void

Parameters
Name Type Description
$newBody
methodpublicsetCcElements(  $newCc ) : void

Parameters
Name Type Description
$newCc
methodpublicsetContentType(  $type = false,  $charset = false,  $transferEncoding = false,  $disposition = false,  $boundary = false ) : void

Parameters
Name Type Description
$type
$charset
$transferEncoding
$disposition
$boundary
methodpublicsetExtraHeader(  $headerName,  $headerValue ) : void

Parameters
Name Type Description
$headerName
$headerValue
methodpublicsetExtraHeaders(  $headers ) : void

Parameters
Name Type Description
$headers
methodpublicsetMIMEVersion(  $version ) : void

Parameters
Name Type Description
$version
methodpublicsetMessageID(  $newMessageID ) : void

Parameters
Name Type Description
$newMessageID
methodpublicsetReceiver(  $email,  $name = false ) : void

Parameters
Name Type Description
$email
$name
methodpublicsetReceiverElements(  $toElements ) : void

Parameters
Name Type Description
$toElements
methodpublicsetReceiverText(  $text ) : void

Parameters
Name Type Description
$text
methodpublicsetReferences(  $newReference ) : void

Parameters
Name Type Description
$newReference
methodpublicsetReplyTo(  $email,  $name = false ) : void

Parameters
Name Type Description
$email
$name
methodpublicsetSender(  $email,  $name = false ) : void

Parameters
Name Type Description
$email
$name
methodpublicsetSenderText(  $text ) : void

Parameters
Name Type Description
$text
methodpublicsetSubject(  $newSubject ) : void

Parameters
Name Type Description
$newSubject
methodpublicsetUserAgent(  $agent ) : void

Parameters
Name Type Description
$agent
methodpublicsplitList(  $emails ) : void
static

Parameters
Name Type Description
$emails
methodpublicstripEmail(  $address ) : void
static

Parameters
Name Type Description
$address
methodpublicsubject(  $convert = true ) : void

Parameters
Name Type Description
$convert
methodpublicusedCharset( ) : void

methodpublicuserAgent(  $convert = true ) : void

Parameters
Name Type Description
$convert
methodpublicvalidate(  $address ) : void
static

Parameters
Name Type Description
$address
Documentation was generated by DocBlox 0.18.1.