Located in /classes/mail/mime.class.php (line 25)
Array of attachments
Parameters that affect the build process
The main message headers
The html part of the message
An array of embedded images/objects
The alternative text to the HTML part (only used in HTML messages)
Default image dir for function setHtml
An array of recognised image types for the findHtmlImages() method
Whether the message has been built or not
The main body of the message after building
The return path address.
Array of information needed for smtp sending
The text part of the message(only used in TEXT only messages)
Constructor function. Sets the headers if supplied.
Adds a file to the list of attachments.
Adds an image to the list of embedded images.
Builds the multipart message from the
list ($this->_parts). $params is an array of parameters that shape the building of the message. Currently supported are: html_encoding - The type of encoding to use on html. Valid options are "7bit", "quoted-printable" or "base64" (all without quotes). 7bit is EXPRESSLY NOT RECOMMENDED. Default is quoted-printable text_encoding - The type of encoding to use on plain text Valid options are "7bit", "quoted-printable" or "base64" (all without quotes). Default is 7bit text_wrap - The character count at which to wrap 7bit encoded data. Default this is 998. html_charset - The character set to use for a html section. Default is ISO-8859-1 text_charset - The character set to use for a text section. Default is ISO-8859-1 head_charset - The character set to use for header encoding should it be needed. Default is ISO-8859-1
Sends the mail.
Set `Bcc`
Set `Cc`
Set the CRLF style
Set `From`
Set the header encoding charset
Set a header
Adds a html part to the mail.
Also replaces image names with content-id's.
Set the HTML charset
Set the HTML encoding
Set `return-path`
Set the SMTP parameters
Set `Subject`
Adds plain text. Use this function
when sending non-html email (text-only)
Set the text charset
Set the text encoding
Set the text wrap count
Adds an alternative part to a mime_part object
Adds an attachment subpart to a mime_part object
Adds an html image subpart to a mime_part object
Adds a html subpart to a mime_part object
Starts a message with a mixed part
Adds a html subpart to a mime_part object
Adds a text subpart to a mime_part object
Function to encode a header if necessary
according to RFC2047
Function for extracting images from html source.
This function will look through the html code supplied by add_html() and find inside html-tags any file that ends in one of the extensions defined in $obj->image_types. If the file exists it will read it in and embed it, (not an attachment).
Documentation generated on Fri, 28 Dec 2007 21:35:35 +0100 by phpDocumentor 1.3.0RC3