Bug #14954 Updated: Warning: Server Error with mail() function

From: Date: Wed, 09 Jan 2002 22:56:40 +0000
Subject: Bug #14954 Updated: Warning: Server Error with mail() function
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-76390@lists.php.net to get a copy of this message
ID: 14954 User updated by: jberall@yahoo.com Reported By: jberall@yahoo.com Status: Open Bug Type: Mail related Operating System: Windows 2000 PHP Version: 4.1.0 New Comment: While I get a Warning: Server Error in c:\wwwapache\suddenserv\test_email.php on line 7 when the SMTP = mail.pnang.com when I change the SMTP = mail.pnang.comx I get Warning: Failed to Connect in c:\wwwapache\suddenserv\test_email.php on line 7 Previous Comments: ------------------------------------------------------------------------ [2002-01-09 17:10:07] jberall@yahoo.com The mail() function doesn't work properly. Every so often it does send mail. I tried putting the php.ini in the c:\php\php.ini instead of the c:\winnt\php.ini but that didn't help. I've been at it a while and I've found no solutions on the web yet, while other people have encountered the same issue. PHP.INI has a valid SMTP = mail.pnang.com and sendmail_from = jberall@yahoo.com. The code mail("jberall@yahoo.com", "My Subject", "Line 1\nLine 2\nLine 3"); And the birthday one from the manual. Again the frustrating part is it worked last night. My outlook works perfectly with the same SMTP. Thanks, Jonathan ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=14954&edit=1

« previous php.dev (#76390) next »