Bug #15221: Mail function does not work
| From: | dansixus at yahoo dot com | Date: | Fri, 25 Jan 2002 12:20:27 +0000 |
| Subject: | Bug #15221: Mail function does not work | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-78111@lists.php.net to get a copy of this message | ||
From: dansixus@yahoo.com
Operating system: Windows XP Pro.
PHP version: 4.1.1
PHP Bug Type: Mail related
Bug description: Mail function does not work
The mail() function does not seem to work. I am getting this error:
Warning: Unknown error in c:\apache\htdocs\auctions\mailtest.php on line
2
Mailtest.php contains the following:
<?php
mail("dansixus@yahoo.com", "PHP Mail test", "Line 1\nLine 2\nLine 3");
?>
My PHP.ini mail function settings seem to be ok too:
SMTP: mail.keyworld.net
sendmail_from = dansixus@yahoo.com
I am using PHP 4.1.1 under apache. Other PHP scripts work fine but this
mail function does not work.
Please help me fix this problem
--
Edit bug report at: http://bugs.php.net/?id=15221&edit=1