Mail_mimeЧасть::encodeToFile()

Mail_mimeЧасть::encodeToFile() – encode a mail

Synopsis

require_once 'Mail/mimeЧасть.php';

array encodeToFile ( string $filename , string $boundary = null , boolean $skip_head = false )

Описание

Encodes and saves the email into file. File must exist. Data will be appended to the file

Parameter

  • string $filename - Output file location

  • string $boundary - Optional pre-defined boundary string

  • boolean $skip_head - True if you don't want to save headers

Return value

array - An associative array containing message headers or PEAR error object

Замечание

This function can not be called statically.

    Поддержать сайт на родительском проекте КГБ