Mail_mimeЧасть::encode()
Mail_mimeЧасть::encode() – encode a mail
Synopsis
require_once 'Mail/mimeЧасть.php';
array encode (
string
$boundary = null
)
Описание
Encodes and returns the email
Parameter
-
string $boundary
- Optional pre-defined boundary string
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
Замечание
This function can not be called statically.