#28368 [NEW]: Problem with function mail() and chars _@

From: Date: Wed, 12 May 2004 12:27:48 +0000
Subject: #28368 [NEW]: Problem with function mail() and chars _@
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-59528@lists.php.net to get a copy of this message
From: alfadur at free dot fr Operating system: Linux PHP version: 4.3.5 PHP Bug Type: Mail related Bug description: Problem with function mail() and chars _@ Description: ------------ I have a "Warning: mail(): Erreur d'appel #1.5 in ..." with the function mail() when I try to send an e-mail to this sort of address : xxx_@xxx.xxx but I dont know why. if I try this : xxx_x@xxx.xxx it is ok, but I have an address : myname_@hotmail.com and the "_@" create a bug. What can I do to send an e-mail to xxx_@xxx.xxx without a calling error #1,5 ? Sorry for my poor english, I am french. ;) Reproduce code: --------------- <? mail($to, $subject, $message,$from); //where $to = "mynane_@hotmail.com" // $subject a subject // $message a message // $from an address ?> Actual result: -------------- Warning: mail(): Erreur d'appel #1.5 in ... -- Edit bug report at http://bugs.php.net/?id=28368&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28368&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28368&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=28368&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=28368&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=28368&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=28368&r=needscript Try newer version: http://bugs.php.net/fix.php?id=28368&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=28368&r=support Expected behavior: http://bugs.php.net/fix.php?id=28368&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=28368&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=28368&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=28368&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28368&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=28368&r=dst IIS Stability: http://bugs.php.net/fix.php?id=28368&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=28368&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=28368&r=float

« previous php.bugs (#59528) next »