Availability in `PHP 4.0`
Send mail
Parameter | Data type | Default value | Note |
---|---|---|---|
$to |
string |
not | Receiver, or receivers of the mail. |
$subject |
string |
not | Subject of the email to be sent. |
$message |
string |
not | |
$additional_headers |
string |
null, | String to be inserted at the end of the email header. |
$additional_parameters |
string |
null | The additional_parameters parameter can be used to pass additional flags as command line options to the program configured to be used when sending mail, as defined by the sendmail_path configuration setting. For example, this can be used to set the envelope sender address when using sendmail with the -f sendmail option. |
bool
true if the mail was successfully accepted for delivery, false otherwise.
It is important to note that just because the mail was accepted for delivery, it does NOT mean the mail will actually reach the intended destination.
Jan Barášek Více o autorovi
Autor článku pracuje jako seniorní vývojář a software architekt v Praze. Navrhuje a spravuje velké webové aplikace, které znáte a používáte. Od roku 2009 nabral bohaté zkušenosti, které tímto webem předává dál.
Rád vám pomůžu:
Články píše Jan Barášek © 2009-2024 | Kontakt | Mapa webu
Status | Aktualizováno: ... | en