Mail_mimePart::encode()

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.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.