ID: 14954 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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 = [EMAIL PROTECTED] The code mail("[EMAIL PROTECTED]", "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 -- 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]