Email in formato html con php

Posted on 30. Sep, 2007 by Administrator in php, tutorials


<?php
$from = "tua email";
$subject = "oggetto";
$body = 'codice html';
$headers="Content-Type:text/html;CHARSET=iso-8859-1\r\n";
$headers.="From:".$from."\r\n";
mail($email, $subject, $body, $headers);
?>


Correlati

Leave a reply