PHP funkce mail()
|Parametr||Datový typ||Výchozí hodnota||Poznámka|
| || ||není||Receiver, or receivers of the mail.|
| || ||není||Subject of the email to be sent.|
| || ||není||Message to be sent.|
| || ||null,||String to be inserted at the end of the email header.|
| || ||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.|
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.