Ver Mensaje Individual
  #1 (permalink)  
Antiguo 08/06/2005, 12:24
Avatar de crazyandmaniac
crazyandmaniac
 
Fecha de Ingreso: mayo-2005
Mensajes: 99
Antigüedad: 19 años
Puntos: 0
Problemas Con Mail()

ORIGINALMENTE ME SENTI CONFIADO DE MIS CONOCIMIENTOS A CERCA DE ESTA FUNCION PERO AL PONERLOS EN PRACTICA, PUES NO DIERON RESULTADO
ESTE ES EL SCRIPT QUE HICE PARA ENVIAR UN MAIL
Código PHP:

<?php
/* PARA */
$para  "[email protected]", " // COMMA
$para .= "[email protected]";

/* asunto */
$asunto "Recordatorio de Cumplea&ntilde;os para JUNIO";

/* mensaje */
$mensaje '
<html>
<head>
<H1>PROBANDOOOOOOOOOOOOOOOOOOOOOOOOOOOOO</H1>
</body>
</html>
'
;

/* Para enviar correo HTML, puede definir la cabecera Content-type. */
$cabeceras  "MIME-Version: 1.0\r\n";
$cabeceras .= "Content-type: text/html; charset=iso-8859-1\r\n";

/* cabeceras adicionales */
$cabeceras .= "To: Maria <[email protected]>, Kelly <[email protected]>\r\n";
$cabeceras .= "From: Recordatorio <[email protected]>\r\n";

/* y ahora, enviarlo */
if(mail($para$asunto$mensaje$cabeceras))
{
echo
"bien";
}
else
{
echo 
"algo mal";
}
?>
NOLLEGA NINGUN MAIL,
LO PUEDEN VER "NO FUNCIONANDO " EN...
http://insanomus.freecoolsite.com/email.php