Sends a HTML mail from a given email address: : mail « Utility Function « PHP
- PHP
- Utility Function
- mail
Sends a HTML mail from a given email address:
<?
$message = "<b>This is a <i>test</i></b>";
$headers = "From: [email protected]\r\nContent-type: text/html\r\n";
mail("[email protected]", "Testing", $message, $headers);
?>
Related examples in the same category