Mail_Mime::encodeHeader()
Mail_Mime::encodeHeader() – encode header value
Synopsis
require_once 'Mail/mime.php';
string encodeHeader (
string $name
, string $value
, string $charset
, string $encoding
)
Description
Returns encoded header value as for RFC2047.
Parameter
-
string $name
- The header name -
string $value
- The header body -
string $charset
- Character set used in header body -
string $encoding
- Encoding ("base64" or "quoted-printable")
Return value
string
- Returns encoded header body (without a name)
Note
This function can not be called statically.