#18625 [Opn->Fbk]: mail() not sending to addresses with a - in the domain

From: Date: Wed, 11 Sep 2002 18:32:04 +0000
Subject: #18625 [Opn->Fbk]: mail() not sending to addresses with a - in the domain
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-19183@lists.php.net to get a copy of this message
ID: 18625 Updated by: iliaa@php.net Reported By: mike.barretta@secbmail.belvoir.army.mil -Status: Open +Status: Feedback Bug Type: Mail related Operating System: win2k PHP Version: 4.2.2 New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#19183) next »