mb_send_mail
(PHP 4 >= 4.0.6, PHP 5)
mb_send_mail — Send encoded mail
Description
bool mb_send_mail
( string $to
, string $subject
, string $message
[, string $additional_headers
[, string $additional_parameter
]] )
Parameters
-
to
-
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.
-
subject
-
The subject of the mail.
-
message
-
The message of the mail.
-
additional_headers
-
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 ("\n").
-
additional_parameter
-
additional_parameter
is a MTA command line
parameter. It is useful when setting the correct Return-Path
header when using sendmail.
Return Values
Returns TRUE on success or FALSE on failure.