note 28732 added to faq.using
| From: | pedro_guardia at hotmail dot com | Date: | Wed, 22 Jan 2003 16:17:39 +0000 |
| Subject: | note 28732 added to faq.using | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-42596@lists.php.net to get a copy of this message | ||
I'm using PHP 4.2.3 on Win98 with Apache 2.0.43 server. I'm running a little example for
send mail, but an error is generating, and I don know why, can you help me , plese?. The error is:
Warning: Failed to Connect in C:\Archivos de programa\Apache Group\Apache2\htdocs\mail.html on line
14
The code is:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Envío de mails con PHP</title>
</head>
<body>
<?
$destinatario = "pedro_guardia@hotmail.com";
$asunto = "Este mensaje es de prueba";
$cuerpo = "Prueba de envio de mail";
mail($destinatario,$asunto,$cuerpo)
?>
</body>
</html>
--
http://www.php.net/manual/en/faq.using.php
http://master.php.net/manage/user-notes.php?action=edit+28732
http://master.php.net/manage/user-notes.php?action=delete+28732
http://master.php.net/manage/user-notes.php?action=reject+28732