My contact form not sending emails from popular mail clients

Discussion in 'Programming' started by bpack14, May 9, 2013.

  1. #1
    http://www.qsrecycling.com (the contact us page)

    I'm hoping that someone can please help me I have been at this for days trying to find possible solutions with no outcome yet.

    I have a contact form set up on my "contact us" page which is working but for some reason dreamhost is not sending emails to my inbox if the emails are tied to a popular mail client such as gmail, yahoo or aol

    If someone uses a than it gets to pushed to the inbox no problem

    Here's the funny thing, I have 2 more forms set up, both on the "get a free quote" and "request a pickup" page through Contact Form 7 and those are working fine after I changed the CF7 mail settings "From" field to

    I have tried using 2 separate SMTP plugins as well to try to fix my primary contact form both with "success" test messages sent but nothing in my inbox still if an email address is from a popular mail client.

    Could someone please help me with this? I'm willing to pay for the help.

    Thanks,
    Bobby
     
    Solved! View solution.
    bpack14, May 9, 2013 IP
  2. #2
    This doesn't sound like an issue with the script to send the emails, I would create a support ticket to Dream host and see what they say.
     
    HuggyStudios, May 10, 2013 IP
  3. bpack14

    bpack14 Well-Known Member

    Messages:
    99
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    113
    #3
    I contacted Dreamhost via chat and they said it's issue with my contact form, when indeed it's not, it's definatelty DH problem.

    I finally figured it out, I had to change my php mail header "from" to

    $headers = “From: \r\n”;
     
    bpack14, May 11, 2013 IP