(PHP 4 >= 4.0.6, PHP 5)
mb_send_mail — Send encoded mail
Sends email. Headers and messages are converted and encoded according to the mb_language() setting. It's a wrapper function for mail(), so see also mail() for details.
The mail addresses being sent to. Multiple recipients may be specified by putting a comma between each address in to. This parameter is not automatically encoded.
The subject of the mail.
The message of the mail.
additional_headers is inserted at the end of the header. This is typically used to add extra headers. Multiple extra headers are separated with a newline (" ").
additional_parameter is a MTA command line parameter. It is useful when setting the correct Return-Path header when using sendmail.
成功时返回 TRUE, 或者在失败时返回 FALSE.
版本 | 说明 |
---|---|
5.0.0 | The Content-Type and Content-Transfer-Encoding headers may be redefined as of PHP 5.0.0. Before this time, the values defined by mb_language() are always used. |