Closed Thread
Results 1 to 10 of 10
Like Tree2Likes
  • 1 Post By trickmaster
  • 1 Post By tittat

Thread: *Urgent*! PHP mail() not delivering to yahoo or aol, but gmail is GREAT!

  1. #1
    trickmaster is offline x10Hosting Member trickmaster is an unknown quantity at this point
    Join Date
    Feb 2008
    Posts
    12

    *Urgent*! PHP mail() not delivering to yahoo or aol, but gmail is GREAT!

    Hello everyone,

    This is probably my first time asking a question on forums even though I would like a answer from x10hosting's staff, but they dont seem to have a personal submit a ticket support centre

    So i have to ask here....I am using Intermediate PHP level, and I can use the mail() function. But! I can only send emails one at a time to yahoo and aol, and I need to send not sepearte emails but all-together for my php newsletter.

    So here is a quote from a helpful person at Flashkit.com Forums

    from the mail received:

    Received: (qmail invoked by alias); 05 Oct 2008 06:30:24 -0000
    Received: from cossacks.x10hosting (EHLO cossacks.x10hosting.com) [74.86.116.190]
    by mx0.gmx.net (mx043) with SMTP; 05 Oct 2008 08:30:24 +0200
    Received: from rk by cossacks.x10hosting.com with local (Exim 4.69)
    (envelope-from <rk@cossacks.x10hosting.com>)
    id 1KmN8I-0000xp-OS
    for *-----------* ; Sun, 05 Oct 2008 02:29:59 -0400
    To: *---------------*
    Subject: Confirm Registration for a Rohobot Kids Account
    From: noreply@rohobotkids.com
    Message-Id: <E1KmN8I-0000xp-OS@cossacks.x10hosting.com>
    Date: Sun, 05 Oct 2008 02:29:59 -0400

    While your visible sender address is noreply@rohobotkids.com, the envelope sender is rk@cossacks.x10hosting.com. Now, that server does neither accept mail, nor publish an MX record (send mail destined for me to <server address>), so this means one cannot send mail to that alleged sender. Some recipient servers simply refuse to accept mail in that case - somewhat rightful: once a server accepts mail, it takes responsibility for delivery to the destination or getting a non-delivery report back. Now, the route for the NDR is barred.

    Some php installations accept a 5th parameter to mail that could be used to set the envelope sender to an existing account that is able to accept mail.
    Others might allow configuration through htaccess files.
    Your hosting company should know that.
    As you see this is a hosting company's issue and I would love a solution for this, either it be how to write the 5th paramater, or some how enabling the email to recieve emails since the cossacks@x10hosting.com does not recieve email yahoo and aol dont accept mail at all.

    But I did a test run with php, and the mails were recieved seperately but never have been together.

    Oh and one more note, gmail is the BEST! It has recieved every single email I have sent and ON TIME instantly! But yahoo and aol take either from 4 mins. to 26 hours and if not sometimes i never get the email!


    Please help!

    Thanks in advance.
    karimirt47 likes this.

  2. #2
    xav0989's Avatar
    xav0989 is offline Community Public Relation xav0989 is just really nice
    Join Date
    Jul 2008
    Location
    ifk
    Posts
    4,438

    Re: *Urgent*! PHP mail() not delivering to yahoo or aol, but gmail is GREAT!

    Maybe moving this to the support section...
    Xavier L | Community Public Relations Manager (Free Hosting Support)
    █ Yes, my position is too cool to even exist!
    How am I helping? Rate this post by clicking the icon below! (this is even better than "liking" a post)
    Terms of Service | Acceptable Use Policy | x10Hosting Wiki

  3. #3
    freecrm's Avatar
    freecrm is offline x10 Elder freecrm is an unknown quantity at this point
    Join Date
    May 2008
    Location
    UK
    Posts
    629

    Re: *Urgent*! PHP mail() not delivering to yahoo or aol, but gmail is GREAT!

    Quote Originally Posted by trickmaster View Post

    Oh and one more note, gmail is the BEST! It has recieved every single email I have sent and ON TIME instantly! But yahoo and aol take either from 4 mins. to 26 hours and if not sometimes i never get the email!


    Please help!

    Thanks in advance.
    I have exactly the same issues but I use X-Sender headers which help a little I think.

    Yahoo still allocates it as spam though.

  4. #4
    trickmaster is offline x10Hosting Member trickmaster is an unknown quantity at this point
    Join Date
    Feb 2008
    Posts
    12

    Re: *Urgent*! PHP mail() not delivering to yahoo or aol, but gmail is GREAT!

    Oh, hello

    Sorry for responding so late, but my question is how do I use x-sender headers?

    I searched all over the internet, very little help or info.

    I think it's okay as long as the mail is received by yahoo, since I could tell me users to add the email address to non-spam.

    Thanks

  5. #5
    freecrm's Avatar
    freecrm is offline x10 Elder freecrm is an unknown quantity at this point
    Join Date
    May 2008
    Location
    UK
    Posts
    629

    Re: *Urgent*! PHP mail() not delivering to yahoo or aol, but gmail is GREAT!

    PHP Code:
    <?php
      $contactemail 
    "someone@somewhere.com";

      
    $headers  'MIME-Version: 1.0' "\n";
      
    $headers .= 'Content-type: text/html; charset=iso-8859-1' "\n";
      
    $headers .= "Content-Transfer-Encoding: 7bit\n"
      
    $headers .= 'From: You(you@cossacks.com)' "\n";
      
    $headers .= 'Reply-To: you@cossacks.com' "\n";
      
    $headers .= 'Return-Path:'.$contactemail "\n";
      
    $headers .= 'X-Sender: '.$contactemail"\n";
      
    $headers .= 'X-Mailers: PHP /'.phpversion() . "\n";

      
    $subject "whatever subject";
      
      
    $message  '
      whatever message  
       '
    ;
      

      
    ini_set(sendmail_from,$contactemail);

      if (@
    mail('You <'.$contactemail.'>',stripslashes($subject),stripslashes($message),stripslashes($headers)))
      {
        echo (
    '<h1>Sent</h1><p>This email has been successfully sent to ' $contactemail '.</p>');
      }
      else
      {
        echo (
    '<h1>Sorry!</h1><p>Your message has failed to send to ' $contactemail '. Please try again later.</p>');
      }


      
    ini_restoresendmail_from );

    ?>

  6. #6
    tittat's Avatar
    tittat is offline x10 Spammer tittat is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    Kerala,India
    Posts
    2,479

    Re: *Urgent*! PHP mail() not delivering to yahoo or aol, but gmail is GREAT!

    It is a nice idea adding a Spoofing or SPF record for your domain.
    http://www.microsoft.com/mscorp/safe...d/default.aspx
    dinomirt96 likes this.
    PLAY ONLINE GAMES
    WWW.TMONDO.COM PlayFar Flash Games
    Former X10 Forum Senior Moderator(Retired)


  7. #7
    trickmaster is offline x10Hosting Member trickmaster is an unknown quantity at this point
    Join Date
    Feb 2008
    Posts
    12

    Re: *Urgent*! PHP mail() not delivering to yahoo or aol, but gmail is GREAT!

    thanks for that, but unfortunately still wont work.

    i get the gmail, but no yahoo

  8. #8
    trickmaster is offline x10Hosting Member trickmaster is an unknown quantity at this point
    Join Date
    Feb 2008
    Posts
    12

    Re: *Urgent*! PHP mail() not delivering to yahoo or aol, but gmail is GREAT!

    actually, update:

    yahoo, and aol recieved emails... but like hours later. aol got it at 6 pm, yahoo got it at 10 pm.

    Any way to fix that?

  9. #9
    leafypiggy's Avatar
    leafypiggy is offline Community Advocate leafypiggy is on a distinguished road
    Join Date
    Aug 2007
    Location
    Massachusetts
    Posts
    2,228

    Re: *Urgent*! PHP mail() not delivering to yahoo or aol, but gmail is GREAT!

    no. its just their filters and the bandwith on the site. it has nothing to do with the function
    Neil Hanlon | x10Hosting Support Representative
    Neil[at]x10hosting.com
    █ I'm always happy to help. Just ask a question in Free Hosting
    Terms of Service IRC

  10. #10
    stpvoice's Avatar
    stpvoice is offline Community Support Rep stpvoice has a brilliant futurestpvoice has a brilliant futurestpvoice has a brilliant future
    Join Date
    Dec 2008
    Location
    United Kingdom
    Posts
    5,940

    Re: *Urgent*! PHP mail() not delivering to yahoo or aol, but gmail is GREAT!

    Locked and recent posts deleted. As was said this is nearly 3 years old.

    misson: feel free to PM me if you need a moderator in future.
    Last edited by stpvoice; 08-11-2011 at 06:01 AM.


Closed Thread

Similar Threads

  1. Who is the best Email Gmail/Yahoo/HotMail
    By funindia in forum Off Topic
    Replies: 47
    Last Post: 08-13-2011, 01:18 AM
  2. Hotmail Vs Yahoo Vs Gmail
    By The Real Rebel in forum Computers & Technology
    Replies: 145
    Last Post: 05-08-2011, 02:33 AM
  3. Replies: 0
    Last Post: 12-17-2010, 11:10 AM
  4. AOL, Gmail, or Yahoo clone script
    By Wizet in forum Scripts & 3rd Party Apps
    Replies: 0
    Last Post: 03-02-2009, 05:38 PM

Tags for this Thread

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