Mail_Mbox::_process (Previous) (Next) Mail_Mime - Example

View this page in Last updated: Sun, 29 Jun 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

Mail_Mime

Table of Contents
Mail_Mime - Example -- generation and sending of a MIME mail
Mail_mimeDecode - Example -- decode an email
Mail_Mime::Mail_Mime() -- creates a new instance
Mail_Mime::addAttachment() -- add attachment
Mail_Mime::addHTMLImage() -- add image to message
Mail_Mime::get() -- build the message
Mail_Mime::headers() -- build the header lines
Mail_Mime::setHTMLBody() -- set HTML part
Mail_Mime::setTxtBody() -- set plain text part
Mail_mimePart::Mail_mimePart() -- constructor
Mail_mimePart::addsubpart() -- add sub part to a MIME part
Mail_mimePart::encode() -- encode a mail
Mail_mimeDecode::Mail_mimeDecode() -- constructor
Mail_mimeDecode::decode() -- perform decoding
Mail_mimeDecode::uudecode() -- decode of UU-coded data
Mail_mimeDecode::getXML() -- create XML representation of MIME parts

A Package to enable easy creation of complex multipart emails. If you look for a simple API for creating such emails, then Mail_Mime class will probably suffice. Else you can use Mail_mimePart, which gives you better control about MIME creation.

Mail_mimeDecode provides a API for decode MIME data.

Mail_Mbox::_process (Previous) (Next) Mail_Mime - Example

Download Documentation Last updated: Sun, 29 Jun 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
Note by: zarthras
I'd like to point out, that there are quite a few more methods to the mime object than listed here. Among them such important helpers like

setSubject()
setFrom()
adBcc()

and so on. I'm not sure why they weren't put in the documentation, but you will find all of them in the api docs.