Mega Code Archive

 
Categories / Php / Functions
 

Sends a HTML mail from a given email address

<?     $message = "<b>This is a <i>test</i></b>";     $headers = "From: foo@bar.com\r\nContent-type: text/html\r\n";     mail("you@yourdomain.com", "Testing", $message, $headers); ?>