Bug #14954 Updated: Warning: Server Error with mail() function
| From: | mfischer@php.net | Date: | Sun, 02 Jun 2002 17:51:03 +0000 |
| Subject: | Bug #14954 Updated: Warning: Server Error with mail() function | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-9184@lists.php.net to get a copy of this message | ||
ID: 14954
Updated by: mfischer@php.net
Reported By: jberall@yahoo.com
-Status: Open
+Status: Feedback
Bug Type: Mail related
Operating System: Windows 2000
PHP Version: 4.1.0
New Comment:
Error handlig has been improvied, please try a snapshot from
http://snaps.php.net/win32/php4-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2002-06-02 06:20:51] mcbridematt@hotmail.com
Ah-Ha.
Edit the php.ini file in %WINDIR
SMTP = mail.xxx.com:25
(add the :25)
------------------------------------------------------------------------
[2002-06-02 06:12:40] mcbridematt@iprimus.com.au
This bug also appears under Windows Me Apache 1.3.xx
------------------------------------------------------------------------
[2002-03-13 03:10:31] ras78@NOSPAMcaltanet.it
I've got the same problems. Under Win2k SP2 (italian) then mail
function doesn't work. If I config my smtp everything but my localhost
or 127.0.0.1 all works fine. If I use Win2K english this problem
doesn't appear.
------------------------------------------------------------------------
[2002-01-09 17:56:39] jberall@yahoo.com
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
------------------------------------------------------------------------
[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