Element index for package Mail_Mime
Package indexes
[ a ]
[ e ]
[ g ]
[ h ]
[ m ]
[ s ]
[ t ]
[ _ ]
_
- $_body
- in file mimePart.php, variable Mail_mimePart::$_body
The body of this part (not encoded)
- $_build_params
- in file mime.php, variable Mail_mime::$_build_params
Build parameters
- $_encoded
- in file mimePart.php, variable Mail_mimePart::$_encoded
The output of this part after being built
- $_encoding
- in file mimePart.php, variable Mail_mimePart::$_encoding
The encoding type of this part
- $_eol
- in file mime.php, variable Mail_mime::$_eol
End Of Line sequence (for serialize)
- $_headers
- in file mimePart.php, variable Mail_mimePart::$_headers
Headers for this part
- $_headers
- in file mime.php, variable Mail_mime::$_headers
Headers for the mail
- $_htmlbody
- in file mime.php, variable Mail_mime::$_htmlbody
Contains the html part of the email
- $_html_images
- in file mime.php, variable Mail_mime::$_html_images
list of the attached images
- $_mime
- in file mime.php, variable Mail_mime::$_mime
contains the mime encoded text
- $_multipart
- in file mime.php, variable Mail_mime::$_multipart
contains the multipart content
- $_parts
- in file mime.php, variable Mail_mime::$_parts
list of the attachements
- $_subparts
- in file mimePart.php, variable Mail_mimePart::$_subparts
An array of subparts
- $_txtbody
- in file mime.php, variable Mail_mime::$_txtbody
Contains the plain text part of the email
- _addAlternativePart
- in file mime.php, method Mail_mime::_addAlternativePart()
Adds a multipart/alternative part to a mimePart object (or creates one), and returns it during the build process.
- _addAttachmentPart
- in file mime.php, method Mail_mime::_addAttachmentPart()
Adds an attachment subpart to a mimePart object and returns it during the build process.
- _addHtmlImagePart
- in file mime.php, method Mail_mime::_addHtmlImagePart()
Adds an html image subpart to a mimePart object and returns it during the build process.
- _addHtmlPart
- in file mime.php, method Mail_mime::_addHtmlPart()
Adds a html subpart to the mimePart object and returns it during the build process.
- _addMixedPart
- in file mime.php, method Mail_mime::_addMixedPart()
Creates a new mimePart object, using multipart/mixed as the initial content-type and returns it during the build process.
- _addRelatedPart
- in file mime.php, method Mail_mime::_addRelatedPart()
Adds a multipart/related part to a mimePart object (or creates one), and returns it during the build process.
- _addTextPart
- in file mime.php, method Mail_mime::_addTextPart()
Adds a text subpart to the mimePart object and returns it during the build process.
- _buildHeaderParam
- in file mimePart.php, method Mail_mimePart::_buildHeaderParam()
_buildHeaderParam()
- _encodeHeaders
- in file mime.php, method Mail_mime::_encodeHeaders()
Encodes a header as per RFC2047
- _file2str
- in file mime.php, method Mail_mime::_file2str()
Get the contents of the given file name as string
- _getEncodedData
- in file mimePart.php, method Mail_mimePart::_getEncodedData()
_getEncodedData()
- _quotedPrintableEncode
- in file mimePart.php, method Mail_mimePart::_quotedPrintableEncode()
quotedPrintableEncode()
- _setEOL
- in file mime.php, method Mail_mime::_setEOL()
Set the object's end-of-line and define the constant if applicable.
- __wakeup
- in file mime.php, method Mail_mime::__wakeup()
wakeup function called by unserialize. It re-sets the EOL constant
a
- addAttachment
- in file mime.php, method Mail_mime::addAttachment()
Adds a file to the list of attachments.
- addBcc
- in file mime.php, method Mail_mime::addBcc()
Add an email to the Bcc (blank carbon copy) header (multiple calls to this method are allowed)
- addCc
- in file mime.php, method Mail_mime::addCc()
Add an email to the Cc (carbon copy) header (multiple calls to this method are allowed)
- addHTMLImage
- in file mime.php, method Mail_mime::addHTMLImage()
Adds an image to the list of embedded images.
- addSubPart
- in file mimePart.php, method Mail_mimePart::addSubPart()
&addSubPart()
e
- encode
- in file mimePart.php, method Mail_mimePart::encode()
encode()
- encodeRecipients
- in file mime.php, method Mail_mime::encodeRecipients()
Since the PHP send function requires you to specifiy recipients (To: header) separately from the other headers, the To: header is not properly encoded.
g
- get
- in file mime.php, method Mail_mime::get()
Builds the multipart message from the list ($this->_parts) and returns the mime content.
- getMessage
- in file mime.php, method Mail_mime::getMessage()
Returns the complete e-mail, ready to send using an alternative
h
- headers
- in file mime.php, method Mail_mime::headers()
Returns an array with the headers needed to prepend to the email (MIME-Version and Content-Type). Format of argument is: $array['header-name'] = 'header-value';
m
- mime.php
- procedural page mime.php
- mimePart.php
- procedural page mimePart.php
- Mail_mime
- in file mime.php, method Mail_mime::Mail_mime()
Constructor function.
- Mail_mime
- in file mime.php, class Mail_mime
The Mail_Mime class provides an OO interface to create MIME enabled email messages. This way you can create emails that contain plain-text bodies, HTML bodies, attachments, inline images and specific headers.
- Mail_mimePart
- in file mimePart.php, method Mail_mimePart::Mail_mimePart()
Constructor.
- Mail_mimePart
- in file mimePart.php, class Mail_mimePart
The Mail_mimePart class is used to create MIME E-mail messages
s
- setFrom
- in file mime.php, method Mail_mime::setFrom()
Set an email to the From (the sender) header
- setHTMLBody
- in file mime.php, method Mail_mime::setHTMLBody()
Adds a html part to the mail.
- setSubject
- in file mime.php, method Mail_mime::setSubject()
Sets the Subject header
- setTXTBody
- in file mime.php, method Mail_mime::setTXTBody()
Accessor function to set the body text. Body text is used if it's not an html mail being sent or else is used to fill the text/plain part that emails clients who don't support html should show.
t
- txtHeaders
- in file mime.php, method Mail_mime::txtHeaders()
Get the text version of the headers (usefull if you want to use the PHP mail() function)
|
|