51 responses

  1. Anand
    June 28, 2012

    This just fixed my contact form 7 problem. Thank you! I’m wondering why the content of the “Message Body” section is so important? Why do I have to include “From …” in the message body?

    • admin
      June 28, 2012

      Because the BlueHost servers check the message headers to see where the email is being sent from. If they can’t authenticate it on their servers, it fails. That section is where it writes that data to the header from.

  2. Johnny
    August 4, 2012

    Thanks, this was exactly what I was looking for. You saved me from fooling around with WP Mail SMTP and it only took thirty seconds. Thanks, dude!

  3. Janet
    August 21, 2012

    🙁 this does not work for me. Frustrating. The email is correct in the cpanel. Everything is setup just like your picture. Does not work for me. Of course it works when I put ANY other email address in. I have even changed the settings from “remote” to “local” and vice versa…nothing. I called bluehost and they just say send a ticket after spending 20 minutes on the phone with them. Any other suggestions that I missed?

  4. admin
    August 21, 2012

    Janet, go into your cPanel and log into your email address, and test sending from it to another address, like a yahoo or gmail address, or something like that, then reply back, and make sure you can send and receive.

    If your mail is being handled by BlueHost, make sure your MX is set to Local.

    Then follow this tutorial and make sure that you have your address entered in 100% properly. Be sure that your name, is NOT the same as your email address. In my example I had “Eddy” as the name, but if I had tried to make my name be “steady@wordpress.shadowlantern.com” it would have failed.

    so you can use Janet (replacing yourdomain with your real domain), but you can’t use something like janet@yourdomain.com

  5. Janet
    October 4, 2012

    I’m still awaiting bluehost. I deleted the plugin and re installed it. I then went through each step you gave and rechecked to make sure everything was accurate. I made sure to put in a different name other than the domain name. Janet .
    Its set to local server. I sent a test email from it and to it not utilizing the form. They were both successful. I even changed to a different contact form plugin…and still nothing. Does it matter that I am using googleapps? I tested the email using the bluehost webmail though…not google apps. I receive emails successfully through google apps, when they are sent regularly. Thanks for the help though.

  6. admin
    October 4, 2012

    Janet, it only matters that you’re using Google Apps if you try to define any server or address other than one listed on BlueHost. You have to make sure that your email address exists in Email Accounts, that your server is, in all lowercase, all one word, localhost, etc.

    If it still isn’t working, feel free to email me what your domain name is and screenshots of what you’re seeing and I can check for any errors in it.

  7. Janet
    October 4, 2012

    Yea the email was created in my blue host account prior to me using my Google Apps. Whats your email?

    • admin
      October 4, 2012

      See the About page for the email address.

  8. Arthur
    November 4, 2012

    Thank you SOOOO MUCH!!!

    I’ve spent all night trying to figure this out!

    I’ve contacted support a few times and they finally set up an SPF record but even after that it didn’t work.

    I had emails sent from name@box###.bluehost.com and now everything works fine!!

    Thank you and all the best!

  9. Jerry
    November 9, 2012

    thanks,that corrected problem. Strange, it worked before.

  10. leonardo s.
    January 21, 2013

    hello, thanks for the post.
    I’m having this issue but in the subsite of a multisite wordpress instalation.
    Perhaps you have an idea of what’s going on.
    Thanks !

    • admin
      January 21, 2013

      It should be the same for each of the subsites as it is for the main. Make sure that the address you’re using actually exists in your BlueHost cPanel and that you’re properly setting it in the from header. Contact Form 7 should work properly then.

  11. leonardo s.
    January 24, 2013

    Still strugling.
    Thanks anyway !

  12. leonardo s.
    January 24, 2013

    I’m on JustHost, but even they sent me the link to this article.
    I’m using Cloudflare, too. Perhaps it has to do with the error I’m getting?

    • admin
      January 26, 2013

      I don’t see any reason CloudFlare would mess this up. It shouldn’t be redirecting your mail. If you want to test it though, maybe try making an A record for mail.yourdomain.com and point it to the IP address of your JustHost hosting account. Then create (or edit) your MX record so it points the zero 0 (top) priority to mail.yourdomain.com. Make sure mail is set Local and try again.

      (Although it really doesn’t matter if mail is local or remote… As long as the proper settings exist it should work for you.)
      If that doesn’t work, feel free to list me your domain name and the location of your form and I’ll take a look at it and see if I can give any better suggestions based on what I see.

  13. leonardo s.
    January 28, 2013

    thx for your time.
    i’ve sent you a private email.

  14. leonardo s.
    February 1, 2013

    After a lot of help from the admin of this blog, I found out that my conflict with the contact forms 7 in the subdomain was originated by a conflict with Buddypress, which I was using in another subdomain.
    I’d tell everybody to not overload a multisite network. WordPress is awesome, but if you’re tryin’ to do something too complicated, it’ll probably break in some instance. A good planification is a must.

  15. Vania
    February 5, 2013

    Thank you for posting this! I saved it on Evernote in case I run into the same problem again.

    One thing you may not have mentioned (didn’t read all the comments so don’t know if you responded to someone) but, in addition to setting up the email account in bluehost, you also need to set up the MX records correctly, for instance:

    My client has a remote mail exchange server, so the A record is pointing to that and the MX server just points to mail.clientdomain.com.
    However, I noticed that it was set up to local server as opposed to remote server, so when I left it as the default local server, then it kept all the email in bluehost mail servers and my client didn’t receive the emails.
    Once I changed it to remote server, then my client was able to receive the email I had submitted through the contact form on his website.
    AH-HAH! That was it! relief!
    Thx again!

  16. Fortune Rice
    February 24, 2013

    Hi, thank you very much for sharing this tip. I’m facing a similar problem that Janet described.

    I’m using bluehost as webhost but have all my MX records pointed to googleapps. Per your instructions, I tried to create a new email account for this purpose using the Email Icon on Bluehost cPanel, but that email is not able to send / receive because of googleapps. How can I have Bluehost handle just that new email, and leave googleapps to handle everything else as is?

    Thanks again!

    • admin
      February 24, 2013

      Let me clarify something for you, Fortune Rice… You actually don’t want to send and receive from just that one email address. ALL of your mail, INCLUDING that one will be handled by Google. The big difference is that, if that email address exists on the BlueHost server, then you will be able to send. You still want it to be setup and working in your google apps though.

      Just because it exists in your cPanel, does not mean that it has to send/receive from there.

  17. Leslie
    April 10, 2013

    Thank you! After spending an hour reading posts on WordPress.com yours was the solution that actually worked.

  18. Lee
    July 3, 2013

    Hours and hours and hours of messing about until I eventually found your post & solved in 5 mins flat. Thank you!!!!!!

  19. Stefan
    August 28, 2013

    Thanks so much – that fixed my problem! Still no sure why it suddenly stopped working, because I was able to get away without having to do this before. Anyway, I’m just glad this worked. Thanks again!

  20. George
    August 31, 2013

    Thanks for keeping me from spending more time on this than I already had – it was a huge help!

    One note that might be useful to others in my situation:

    Bluehost also checks the TO field for any addresses that come from the hosting account, and checks that they exist. If not, then the form also fails to send.

    In my situation, we hadn’t yet moved the domain name over, nor had any email accounts been set up. I set up a test account to solve the FROM issue, but one of the emails in the TO section had not been set up yet, so it was causing the continued failure.

    What was causing my confusion was, when I did my own test of the form, I replaced the two emails with my own personal address, which is a functioning email, so the form worked in that case. A lesson in not testing apples to apples!

    Oh, and when there’s a TO failure, CF7 is set up so that the form doesn’t go through at all. In other words, in addition to the non-existent (on Bluehost) email address, there was a gmail address too, but because of the Bluehost fail, CF7 doesn’t process the form at all, so even the gmail person didn’t get sent to.

  21. Rob
    December 29, 2013

    Thank you so much – I’m glad I found this before I spent even more time trying to figure out what was going wrong!

  22. Steve
    March 6, 2014

    You save my life, just write to let you know that this little post is making a lot of people happier. Thank you Shadowlantern.

  23. Augusto
    March 24, 2014

    Works! Thank you so much , save me a lot time.

  24. Sergio
    April 15, 2014

    yeap, your solution DOES work. Thank you very much, sir.

  25. Libby
    May 9, 2014

    This is not working for me. The email address is the same in the Cpanel and everything is set up like you have it.

    I have been on the phone with Blue Host for over an hour and they finally came back saying it’s a coding issue and I should try another form. I’m sure it’s something simple. I have gone over this many times. Any help would be greatly appreciated.

    • admin
      May 9, 2014

      It seems like I recall running into another issue like this where a theme or plugin was interfering. If you have another WordPress install, or can create another test WP install, try the form on there without any other plugins/themes to interfere and see if it makes a difference.

      Also, make sure your spelling is 100% correct, including using only all lowercase letters.

  26. Libby
    May 10, 2014

    I created a new wordpress site and added contact form 7 to it and it still didn’t work. The new site had Askimet, JetPack and MOJO Marketplace already installed so I left those there.

    Everything in lowercase too.

    Should I give up and try another form? I would love to use contact form 7 because I like the Flamingo plug-in that goes with it (where you can access any emails sent to your through the contact page from inside your wordpress admin). And, by the way, I am getting the emails in the Flamingo plug-in, just not through the my email.

    Any help would be appreciated. Thank you.

    • admin
      May 10, 2014

      Contact me via info on the About page. Maybe send me some screenshots of your domain and settings and I’ll see if I can offer some more in-depth help for you.

  27. Brian Merritt
    July 23, 2014

    Many thanks for this! I managed to get SMTP working thanks to http://aldrinmercado.com/2012/08/26/wp-mail-smtp-in-wordpress-hosted-by-bluehost/and by switching to WP Mail SMTP plugin.

    When Contact Form 7 wasn’t working, I thought I was going to have to give up and try again, but the above cracked it!!

  28. Selim
    August 13, 2014

    Thanks soooo much 🙂

  29. Linnea
    September 30, 2014

    I was so happy to see our site but I still can’t get it to work correctly. By putting my email in the message body I am not getting the senders’ email address. The mail comes to me, and the message, but not the sender’s email address. Please say where I’m going wrong. many thanks,Linnea

    • admin
      September 30, 2014

      Your form is the sender of the email, not their own email. They aren’t sending anything from their address. They’re just using your form. Your form needs to ask for their email. Be sure to include something in your form that asks for whatever information you need from them.

  30. Linnea
    October 1, 2014

    My form asks for the senders email address (name, email, subject, message – the usual).
    When I edit the contact form, in the section under Form is mail (that your image shows). I have my email address on the left under To: and under From: and on the right after the From: like you have Eddy@…
    I save this. Then I go to my website and fill in my form, and I get my message but the sender’s mail is my own. My site is http://www.swedeinternational.com if anything there looks funny to you. Many sincere thanks

  31. Linnea
    October 1, 2014

    Wait, I think I got it to work. It seems I was misinterpreting your pictures. Thank you very very much for this service.

    • admin
      October 1, 2014

      I’m glad to hear it’s working for you now 🙂

  32. Vinit
    February 25, 2015

    Your post is 3 years old and it is still the best resource to fix this problem. You are a rock-star!!


    One more thing that I needed to do: In the bluehost DNS Records manager, under MX records, if your email routing is set to “automatic/local” you need to change it to “Remote Mail Exchanger” so your emails go to your Google Apps and not the Bluehost inbox account you created above!

  33. Derek
    March 5, 2015

    I found out this will also work for From field if you want a name to be displayed in the email.


    Make sure to have a space between name and opening <.

    • admin
      March 5, 2015

      I think some html code is being cut out there…

  34. Derek
    March 5, 2015

    Yeah, it got stripped. Let’s try this.

    “Sales “

    • admin
      March 5, 2015

      If you’d like, you can email me with the html and I’ll edit your comment to make it say what you meant for it to say. 🙂

  35. Justin
    March 11, 2015

    THANK YOU!!! Special thanks to Vinit – the Google Apps fix for BlueHost is huge. That did it!
    One more thing that I needed to do: In the bluehost DNS Records manager, under MX records, if your email routing is set to “automatic/local” you need to change it to “Remote Mail Exchanger” so your emails go to your Google Apps and not the Bluehost inbox account you created above!

  36. Leentje
    March 12, 2015

    Hi, I tried this. Have to tell I recently changed hosting provider. My info@<mydomain> email address is being forwarded by the domain name provider to my gmail account.

    In Bluehost Cpanel I added info@<mydomain>, changed all setting in Contact Form 7 plugin and I actually got the message my test mail was successfully sent, however i DID NOT receive my test email in my gmail inbox, so the forward doesn’t work? How to solve this? Thanks

    • admin
      March 12, 2015

      Leentje, If you have a forwarder setup, you should not. Delete the forwarder, just make sure the info@ address you mentioned does exist in cPanel with your hosting provider, and then make sure your mail is set to be handled by remote mail exchange, and not local. Some of the other comments in this thread may help you.

  37. meeshell
    May 27, 2015

    I’ve been trying this for hours and reading every blogpost, support page, even talking with blue host customer service and I STILL cannot get my form to work! I did exactly what you said to do above… and still nothing! Do you have any other suggestions?

    • admin
      May 27, 2015

      Is your DNS setup properly with Bluehost? If so, how long ago did you set it up. It can take several hours, even up to a few days, for DNS propagation.

Back to top
mobile desktop