Form Mail Problem

cybrax

Community Advocate
Community Support
Messages
764
Reaction score
27
Points
0
Is anybody having trouble sending email to @yahoo addreses using PHP
eg:mail($yourEmail,$subject,$message,$headers) from the free hosting servers?

Script my end apparently not an issue, Gmail recieving all messages sent as are several other places but anything ending @yahoo.com or Yahoo.co.uk is not getting through.

This was all working fine a couple of weeks ago, any ideas?
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
Just sent one from a friend's account on Boru.

Got there, but in the Spam folder.

Test file I use:

PHP:
<?php

$headers = 'From: dave@brubeck.x10hosting.com' . "\r\n" .
    'Reply-To: dave@brubeck.x10hosting.com' . "\r\n" .
    'X-Mailer: PHP/' . phpversion();

$uid = getmyuid();
$cur_user = get_current_user() ;
echo date('l jS \of F Y h:i:s A');

$sent = mail(  'bobama@yahoo.com'  ,  'Subject: PHP Cron'  ,  'A cron job from Dave using PHP.', $headers ) ; 

if( sent ){
    echo "<br/>Sent .. <br />$uid";
} else {
    echo "<br />Not sent ... <br />uid: $uid <br />current user: $cur_user )";
}

?>
 
Last edited:

essellar

Community Advocate
Community Support
Messages
3,295
Reaction score
227
Points
63
Dave Brubeck? I like the cut of your jib!

The problem is probably related to the blanket condemnation of the x10hosting.com domain Yahoo has adopted for search results -- a few bad apples have ruined it for everybody here, and Yahoo hasn't seen fit to treat the various subdomains here as separate sites. (And, try as they might, the folks with the juice can't kill the offending accounts fast enough to keep them from doing damage. All it takes is one phisherman in the crowd for the whole domain to make it on some of the blacklists.)
 
Top