Mirate la referencia del manual de PHP:
<a href='ir.asp?http://www.php.net/manual/es/function.mail.php' target='_blank'>http://www.php.net/manual/es/function.ma...</a>
Ahi veras ejemplos tanto por parte de PHP .. como por parte de los "user comments" .. leelos q son intesantes y practicos .. como este:
Cita: $headers .= "From: Name<
[email protected]>\n";
$headers .= "X-Sender: <
[email protected]>\n";
$headers .= "X-Mailer: PHP\n"; //mailer
$headers .= "X-Priority: 3\n"; //1 UrgentMessage, 3 Normal
$headers .= "Return-Path: <
[email protected]>\n";
//Uncomment this to send html format
//$headers .= "Content-Type: text/html; charset=iso-8859-1\n";
//$headers .= "cc:
[email protected]\n"; // CC to
//$headers .= "bcc:
[email protected]"; // BCCs to, separete
multiple with commas
[email protected],
[email protected]
mail ( string para, string sobre, string mensaje [, string cabeceras_adicionales])
Un saludo,