Ver Mensaje Individual
  #2 (permalink)  
Antiguo 20/08/2003, 13:49
Avatar de Chuty
Chuty
 
Fecha de Ingreso: noviembre-2002
Ubicación: el bar de la esquina
Mensajes: 609
Antigüedad: 21 años, 5 meses
Puntos: 2
estoy intentando con este ejamplo de los Faq de PHP y me da el siguiente error

Código PHP:
<?php
$sfrom
="[email protected]"//cuenta que envia
$sdestinatario="[email protected]"//cuenta destino
$ssubject="demo"//subject
$shtml="mensaje de prueba"//mensaje
$sheader="From:".$sfrom."\nReply-To:".$sfrom."\n";
$sheader=$sheader."X-Mailer:PHP/".phpversion()."\n";
$sheader=$sheader."Mime-Version: 1.0\n";
$sheader=$sheader."Content-Type: text/html";
mail($sdestinatario,$ssubject,$shtml,$sheader);
?>
Warning: Failed to Connect in c:\inetpub\wwwroot\phptest\LegGrpVto01\mail.php on line 10

bueno desde ya muchas gracias