ArininAV

Mail_Mime::headers()

Mail_Mime::headers() -- build the header lines

Synopsis

require_once 'Mail/mime.php';

array &headers ([array $headerEx = NULL])

Описание

Returns an array with the headers needed to prepend to the email (MIME-Version and Content-Type). Please note that the function get() has to be called before calling headers().

Параметр

Возвращаемое значение

array - an associative array with the mime headers and the additional headers. The return value can directly passed to the second parameter of Mail::send().

Заметка

Эта функция не должна вызываться статически.

Внимание

Mail_Mime::headers() has to be called after Mail_Mime::get().

См. также

Mail_Mime::get()