#30227 [Opn->Bgs]: mail("m-a-n@do-ma-ine.com","test","test") dont work..
| From: | aidan@php.net | Date: | Sat, 25 Sep 2004 02:36:22 +0000 |
| Subject: | #30227 [Opn->Bgs]: mail("m-a-n@do-ma-ine.com","test","test") dont work.. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-66668@lists.php.net to get a copy of this message | ||
ID: 30227
Updated by: aidan@php.net
Reported By: anonymus at webmaster-hub dot com
-Status: Open
+Status: Bogus
Bug Type: Mail related
Operating System: Linux 2.4.26-grsec
PHP Version: 4.3.7
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
mail() will return true if everything was successful, i.e. the mail was
successfully delivered to the MTA.
What happens after that, mail() does not know. It is possible your mail
was rejected by a spam filter, the email address is not valid, or a host
of other reasons.
If you can send mail to the 2nd address fine (with php), but it stops
working when you try to send two mails from the same script - may imply
a bug in PHP, or simply a configuration issue with your mail server.
Previous Comments:
------------------------------------------------------------------------
[2004-09-25 01:33:02] anonymus at webmaster-hub dot com
Description:
------------
Sorry, i don't understand english... :(
Hôte : ns30992.ovh.net (213.186.57.191)
Système d'exploitation : Linux 2.4.26-grsec
Serveur HTTP : Apache/1.3.31 (Unix) mod_gzip/1.3.19.1a PHP/4.3.7
mod_ssl/2.8.18 OpenSSL/0.9.6m
Version PHP : 4.3.7 (Zend : 1.3.0)
function mail() return true, but dont send mail when there is - - in
the $to parameter.
I'm using the Open Source "Os Commerce".
The mail function is ok with the same 'open source', but with this
parameters :
Server Host: web30.60gp.ha.ovh.net (10.0.15.130)
Server OS: Linux 2.4.27-mutu-piv
HTTP Server: Apache
PHP Version: 4.3.8 (Zend: 1.3.0)
Reproduce code:
---------------
<?
if (mail("anonymus@webmaster-hub.com", "test2","test2"))echo"OK
1der";
if (mail("g-n-d@rayon-bien-etre.com",
"test2","test2"))echo"<br>OK
2der";
?>
Output :
OK 1
OK 2
In Outlook :
OK 1 only.
Expected result:
----------------
The first mail("anonymus@web....
return TRUE,
The second mail("g-n-d@rayon....
return TRUE.
But
I receive the first, not the second.
Whith the second server (Server Host:web30.60gp.ha.ovh.net
(10.0.15.130)) i receive the first and the second mail.
That's all ;)
Thanks to say me if it's a real bug or not.
anonymus@webmaster-hub.com +> Nicolas GALLE. (french).
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=30227&edit=1