Bug #15221 Updated: Mail function does not work

From: Date: Tue, 19 Mar 2002 05:00:02 +0000
Subject: Bug #15221 Updated: Mail function does not work
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-2825@lists.php.net to get a copy of this message
ID: 15221 Updated by: php-bugs@lists.php.net Reported By: dansixus@yahoo.com -Status: Feedback +Status: No Feedback Bug Type: Mail related Operating System: Windows XP Pro. PHP Version: 4.1.1 New Comment: No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". Previous Comments: ------------------------------------------------------------------------ [2002-02-27 04:44:44] milamamu@tiscalinet.it Try change \n with \r\n ------------------------------------------------------------------------ [2002-01-25 11:50:23] sander@php.net Check your SMTP settings. Probably the mailserver refuses your message. Check if authentication is needed and more like that. ------------------------------------------------------------------------ [2002-01-25 07:20:27] dansixus@yahoo.com 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 this bug report at http://bugs.php.net/?id=15221&edit=1

« previous php.bugs (#2825) next »