Mail_mimePart::addsubpart() (Previous) (Next) Mail_mimeDecode::Mail_mimeDecode()

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

Mail_mimePart::encode()

Mail_mimePart::encode() -- encode a mail

Description

Encodes and returns the email

Return value

array - an associative array containing two elements, body and headers. The headers element is itself an indexed array.

The key names are

'headers' - an array with the mail headers
'body' - a string with the mail body

Note

This function can not be called statically.

Mail_mimePart::addsubpart() (Previous) (Next) Mail_mimeDecode::Mail_mimeDecode()

Download Documentation Last updated: Sun, 24 Aug 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.