mail

PHP 4, PHP 5, PHP 7, PHP 8
mail - Send mail
Manual
Code Examples

Example #1 Sending mail.

PHP Version:

Example #2 Sending mail with extra headers.

PHP Version:

Example #3 Sending mail with extra headers as <span class='function-type'>array</span>

PHP Version:

Example #4 Sending mail with an additional command line parameter.

PHP Version:

Example #5 Sending HTML email

PHP Version:


Function mail:

Mail Functions

Most used PHP functions