#34374 [Opn->Bgs]: Mail not received by yahoo etc

From: Date: Mon, 05 Sep 2005 10:21:32 +0000
Subject: #34374 [Opn->Bgs]: Mail not received by yahoo etc
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-29199@lists.php.net to get a copy of this message
ID: 34374 Updated by: jacques@php.net Reported By: garth at livinlife dot co dot za -Status: Open +Status: Bogus Bug Type: Website problem Operating System: Linux PHP Version: Irrelevant 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. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2005-09-05 12:12:08] garth at livinlife dot co dot za Description: ------------ Hi all... I have two webpages that send mail from. The one works fine however the second does not. They both send the mail and it is received everytime by my own clients using my mail server but not by other that use yahoo etc. The one sends it and it is received by yahoo but the other one seems to never arrive. I have copied the code from the one into the other but this does not help. PS. If i send that one that does not get received from my local PC running the exact spec as my webserver it works but not when i upload it. Thanks guys!!! Reproduce code: --------------- if ($e && $m) { // If everything's OK. $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $headers .= "From: $from"; $break = '<br>'; $body = ereg_replace("\r", $break, $body); if (mail ("$to", "$subject", $body, $headers)){ echo "Thank you, your email has been sent to <b>$to</b> <br />for the advert <b>$subject</b><br /><br />"; } else { echo '<font color="red">System error, please try again.</font><br><br>'; } include ('includes/footer.html'); exit(); } ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=34374&edit=1

« previous php.mirrors (#29199) next »