+ Reply to Thread
Results 1 to 3 of 3

Thread: Form Mail Problem

  1. #1
    cybrax's Avatar
    cybrax is offline x10 Elder cybrax is on a distinguished road
    Join Date
    Aug 2009
    Location
    UK
    Posts
    699

    Form Mail Problem

    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?
    The code must flow.
    Project 157: Latest UK Jobs direct to your mobile phone
    New Domain under construction: Lovelogic.net
    home for some new projects that we can't keep here ;)


  2. #2
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,636

    Re: Form Mail Problem

    Just sent one from a friend's account on Boru.

    Got there, but in the Spam folder.

    Test file I use:

    PHP Code:
    <?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 by descalzo; 08-06-2010 at 09:18 PM.
    Nothing is always absolutely so.

  3. #3
    essellar's Avatar
    essellar is offline Community Advocate essellar has a spectacular aura about
    Join Date
    Feb 2010
    Location
    Toronto, Ontario, CA
    Posts
    1,153

    Re: Form Mail Problem

    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.)
    “Beware of bugs in the above code; I have only proved it correct, not tried it.” --Donald Knuth
    "It was as if its architects were given a perfectly good hammer and gleefully replied, 'neat! With this hammer, we can build a tool that can pound in nails.'" -- Alex Papadimoulis (on TheDailyWTF.com)

+ Reply to Thread

Similar Threads

  1. e-mail form through php script
    By ajnv60 in forum Programming Help
    Replies: 2
    Last Post: 05-24-2010, 03:43 PM
  2. form mail problem - sends but can't receive mail
    By scotlundy in forum Free Hosting
    Replies: 0
    Last Post: 02-11-2010, 10:04 AM
  3. php mail contact form?? plz help
    By hannoes in forum Programming Help
    Replies: 7
    Last Post: 11-08-2009, 09:43 PM
  4. mail form
    By jafbox in forum Scripts & 3rd Party Apps
    Replies: 5
    Last Post: 12-30-2008, 03:19 PM
  5. Sending Form to Mail
    By Ryuji666 in forum Programming Help
    Replies: 5
    Last Post: 08-15-2008, 02:21 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers