
18/11/2009, 23:26
|
 | | | Fecha de Ingreso: septiembre-2004 Ubicación: Tamaulipas, Mexico
Mensajes: 124
Antigüedad: 20 años, 6 meses Puntos: 0 | |
Respuesta: Funcion mail VS clase phpmailer Código PHP: <?php
$to = '[email protected]';
$subject = 'the subject';
$message = 'hello';
$headers =
'From: [email protected]' . "\r\n" .
'Reply-To: [email protected]' . "\r\n" .
'Received: from mail.example.com' . "\r\n" .
'X-Mailer: PHP/' . phpversion();
mail($to, $subject, $message, $headers);
?> http://en.wikipedia.org/wiki/E-mail#Header_fields http://www.php.net/manual/en/function.mail.php |