mb_send_mail

(PHP 4 >= 4.0.6)

mb_send_mail --  Send encoded mail.

Description

boolean mb_send_mail (string to, string subject, string message [, string additional_headers [, string additional_parameter]])

Atenção

Esta função é EXPERIMENTAL. Isso quer dizer que o comportamento desta função e seu nome, incluindo TUDO o que está documentado aqui pode mudar em futuras versões do PHP, SEM QUALQUER NOTIFICAÇÃO. Esteja avisado, e use esta função por sua própria conta e risco.

mb_send_mail() sends email. Headers and message are converted and encoded according to mb_language() setting. mb_send_mail() is wrapper function of mail(). See mail() for details.

to is mail addresses send to. Multiple recipients can be specified by putting a comma between each address in to.

subject is subject of mail.

message is mail message.

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 is a MTA command line parameter. It is useful when setting the correct Return-Path header when using sendmail.

It returns TRUE for success, otherwise it returns FALSE.

See also: mb_language(), mail().