|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16172 mail() bug
Submitted: 2002-03-19 14:19 UTC Modified: 2002-03-20 12:35 UTC
From: yaniv at drsbiz dot com Assigned:
Status: Not a bug Package: Mail related
PHP Version: 4.1.2 OS: Windows 2000 server
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
49 + 50 = ?
Subscribe to this entry?

 [2002-03-19 14:19 UTC] yaniv at drsbiz dot com
I did a normal installation of PHP.

I'm tring to send email using mail() function and I have no problem sending email to any address except , it seems that is not going through. (very strange)

here is an example of the code:

if (!(mail("","test","test")))
 echo "email not sent";
 echo "email send";

here is the error message that comes up on the screen:

Warning: Server Error in D:\My WebSite\disconnew\email.php on line 3
email not sentPHP Warning: Server Error in D:\My WebSite\disconnew\email.php on line 3 

good luck


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-03-20 06:24 UTC]
It seems your mailserver is blocking that domain. Not a bug in PHP.
 [2002-03-20 12:35 UTC] yaniv at drsbiz dot com
ok, you guys where right thanks for the quick response
This is just another proof why PHP is kicking ASP in the butt
great customer respond

thanks again
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 13 18:01:29 2024 UTC