#45474 [NEW]: mail worked but not received

From: Date: Thu, 10 Jul 2008 10:06:02 +0000
Subject: #45474 [NEW]: mail worked but not received
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-126431@lists.php.net to get a copy of this message
From: smartin_12 at yahoo dot com Operating system: windows xp PHP version: 5.2.6 PHP Bug Type: *General Issues Bug description: mail worked but not received Description: ------------ mail function execute properly but not received. if i upload the mail.php which contain mail function at our server the function is sent but mail not received Reproduce code: --------------- <?php $to = "smartin_12@yahoo.com"; $subject = "PBCM-Prayer Request"; $message = '<html> <head> </head> <body> <p></p> <table> <tr> <td>Name :</td><td></td><td>'.$_POST[name].'</td> </tr> <tr> <td>E-Mail :</td><td></td><td>'.$_POST[mail].'</td> </tr> <tr> <td>Phone :</td><td></td><td>'.$_POST[phoneno].'</td> </tr> <tr> <td>Subject :</td><td></td><td>'.$_POST[prayer].'</td> </tr> <tr> <td>Status :</td><td></td><td>'.$_POST[who].'</td> </tr> <tr> <td>PrayerRequest :</td><td></td><td>'.$_POST[request].'</td> </tr> </table> </body> </html> '; $from= "MIME-Version: 1.0\r\n"; $from.= "Content-type: text/html; charset=iso-8859-1\r\n"; $from.= "From: $_POST[name]<$_POST[mail]>"; mail($to,$subject,$message,$from); //phpinfo(); ?> Expected result: ---------------- the mail should go to the corresponding id -- Edit bug report at http://bugs.php.net/?id=45474&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=45474&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=45474&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=45474&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=45474&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=45474&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=45474&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=45474&r=needscript Try newer version: http://bugs.php.net/fix.php?id=45474&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=45474&r=support Expected behavior: http://bugs.php.net/fix.php?id=45474&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=45474&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=45474&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=45474&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=45474&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=45474&r=dst IIS Stability: http://bugs.php.net/fix.php?id=45474&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=45474&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=45474&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=45474&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=45474&r=mysqlcfg

« previous php.bugs (#126431) next »