ID: 15221 Updated by: sander Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: Mail related Operating System: Windows XP Pro. PHP Version: 4.1.1 New Comment:
Check your SMTP settings. Probably the mailserver refuses your message. Check if authentication is needed and more like that. Previous Comments: ------------------------------------------------------------------------ [2002-01-25 07:20:27] [EMAIL PROTECTED] 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("[EMAIL PROTECTED]", "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 = [EMAIL PROTECTED] 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 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]