Goddam annoying AOL!

Discussion in 'PHP' started by adman_9000, May 10, 2007.

  1. #1
    Hi, I am having issues with getting emails to AOL addresses using PHPs mail() fun ction. And when I say issues I mean that none of the emails are getting through. At all. Not even to the spam folder.
    I have searched and found people who have had similar problems but as far as I can tell I'm doing everything right. I tested the reverse dns lookup which aol seems to require, I made sure the IP address appears in the email header, I tried setting the Return-Path to something other than apache@... (didnt change). Nothing made a difference. AOL just doesnt like my emails and wont even acknowledge their existence.
    HEEEELLP!!! (please)
     
    adman_9000, May 10, 2007 IP
  2. sspt

    sspt Peon

    Messages:
    17
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Have you checked your mail logs? Logs are usually in /var/log/exim or /var/log/mail

    Logs will let you know what happen to your mails :)
     
    sspt, May 10, 2007 IP
  3. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,219
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Yeah, AOL is a PITA.

    Anyway, I so happen to know the fix.

    In your PHP.ini file there's a server e-mail default. I forgot the exact name of the variable. For AOL to accept your mail, the FROM, RETURN-TO AND this PHP.ini send mail default need to be the exact same.

    But even when you do that, you are probably already on their blacklist.
     
    T0PS3O, May 10, 2007 IP
  4. adman_9000

    adman_9000 Peon

    Messages:
    43
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    WOOOOOOOOHOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO!!!!!

    By which I mean thanks, its sorted now. After alot of faffing about I have worked out the following solution (with a little help!)

    ini_set('sendmail_from', 'info@mysite.com');
    mail("somebody@aol.com", "A test email", "Yes this is a test", "FROM: ", '-r ');

    And thats basically it. I am now officially dead chuffed and am off to celebrate a day that hasnt actually been a complete waste!

    Cheers guys
     
    adman_9000, May 10, 2007 IP
  5. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,219
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Yeah, that's the one I meant. Couldn't remember exactly. Thanks for sharing.
     
    T0PS3O, May 10, 2007 IP
  6. dougeetx

    dougeetx Peon

    Messages:
    226
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #6
    God doesn't need a damn....He can walk on water!
     
    dougeetx, May 10, 2007 IP
  7. adman_9000

    adman_9000 Peon

    Messages:
    43
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Ok now AOL is just taking the p***

    I set up my own AOL account and that receives the newsletter emails just fine. however, the person I am doing this for has their own AOL email address and they dont receive the emails fine. From what I can tell they are receiving all the headers etc as part of the body of the email. so all the crap about content type etc etc is on show.

    I'm starting to think that the easiest way to solve this may be to track down every single person with an aol address manually and just hand deliver them a paper copy of the damn newsletter!
     
    adman_9000, May 24, 2007 IP