#18625 [NoF->Opn]: mail() not sending to addresses with a - in the domain
| From: | mike dot barretta at secbmail dot belvoir dot army dot mil | Date: | Fri, 27 Sep 2002 11:56:17 +0000 |
| Subject: | #18625 [NoF->Opn]: mail() not sending to addresses with a - in the domain | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-20583@lists.php.net to get a copy of this message | ||
ID: 18625
User updated by: mike.barretta@secbmail.belvoir.army.mil
Reported By: mike.barretta@secbmail.belvoir.army.mil
-Status: No Feedback
+Status: Open
Bug Type: Mail related
Operating System: win2k
-PHP Version: 4.2.2
+PHP Version: 4.2.3
New Comment:
just installed new version 4.2.3.
same problem as before. email won't send via mail() function to an
address with '-' in the domain. email can send through the smtp server
php is using if i use client like outlook.
Previous Comments:
------------------------------------------------------------------------
[2002-09-26 20:04:03] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
------------------------------------------------------------------------
[2002-09-11 13:32:04] iliaa@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
I cannot replicate this bug, it sounds like the SMTP server is
rejecting this domain. If latest CVS does not work, see if you can
successfuly send email to an address with a '-' in it manually via the
SMTP server your php is using.
------------------------------------------------------------------------
[2002-07-29 13:08:01] mike.barretta@secbmail.belvoir.army.mil
given:
$to = "foo@foo-foo.com";
command:
mail($to,"test","test");
result:
warning: server error line xxx
------------------
if sending to an address without the - in the domain, mail() works fine
so i'm sure it's not a config problem. also, the - address is valid
and i can send mail via a mail client.
the - addresses worked in v4.2.1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18625&edit=1