UPDATE: August 27, 2009
If your website is being hosted on GoDaddy and you are using WordPress version 2.8.x (2.8.4 being the latest at time of writing) and the latest version of Contact Form 7 (2.0.1 at time of writing), you are probably visiting this blog because you are getting the annoying “failed to send your message” error (with the red border) in your contact form.
I just found out this evening that after upgrading to Contact Form 7 2.0.1 and WordPress 2.8.4, my contact form won’t send e-mails anymore. When I wrote this post back in April 2009, I was using WP version 2.7.1.
This post will help you to finally fix this problem. If you haven’t done so, please install the WP-Mail-SMTP plugin and then read my original article on the issue.
This post is a follow-up article to my post titled “How to Send Email with Wordpress from GoDaddy”.
Several visitors to my site have informed me that after trying out my suggestions in the aforementioned post, they are still receiving the following error message:

Failed to send your message. Please try again later or contact administrator by other way.
If you have applied the suggestions found in the “How to Send Email with Wordpress from GoDaddy” post and still receive the error message above, please try the following:
- Go to Contact Form 7’s settings (Tools -> Contact Form 7 (version 1.x)) or the new “Contact” menu (Contact Form 7 version 2.x)
- Make sure that you enter “[your-email]” (without the quotes) in the “From:” field.
From: field: Enter the same e-mail address shown in the “From:” line of your WP-Mail-SMTP settings. For example, let’s pretend I am using “example@example.com” in the “From:” line of my WP-Mail-SMTP settings. I must enter the same e-mail address in Contact Form 7’s counterpart. Contact Form 7 will have [your-name] “<[your-email]>”. This won’t work for you. - Very Important: Contact Form 7 will have a field called “Additional headers:”. Enter (literally) “Reply-To: [your-email]“, without the quotes. The [your-email] placeholder is the same field used inthe Contact Form 7’s form. Contact Form 7 will replace it with the e-mail the user supplies in the form. This header will allow you to reply to the sender directly without copying their e-mail address manually by you.
- Click the Save button.
- Open the Contact Form in your blog and you should finally see the sweet “Your message was sent successfully. Thanks.” green bordered text.
You will notice that the e-mail will take several minutes to arrive in your inbox. Take heart, it will arrive.
The “To:” field is the e-mail address where you would like to receive the results. The value I am using is my personal e-mail account. Also, make sure that you do include the person’s e-mail address in the form’s results so that you are able to have a copy of the person’s e-mail in hand.
I am going to share with you the code I’m using for my website’s contact form. Use it as a starting point. Note that it uses the Really Simple CAPTCHA plug-in for Contact Form 7.
“Form” Section
<p>Your Name:<span class="required">*</span><br />
[text* your-name] </p>
<p>Your Email:<span class="required">*</span><br />
[email* your-email] </p>
<p>Subject<br />
[text your-subject] </p>
<p>Your Message<span class="required">*</span><br />
[textarea* your-message] </p>
<p>
[captchac captcha-897 size:m fg:#000000 bg:#ffffcc]
Type in the Above Code<br />
[captchar captcha-897]
</p>
<p> </p>
<p>[submit "Send"]</p>
“Mail” Section
- To: field: The e-mail address that will receive the results. This can be any valid e-mail address, such as your GMail or Hotmail e-mail address. For example, “example@example.com”, without the quotes.
- From: field: Enter the same e-mail shown in the “From:” line of the WP-Mail-SMTP settings “[your-email]“, without the quotes. This field has been discussed above.
- Subject: field: Enter “[your-subject]“, without the quotes.
- Additional headers: literally type in “Reply-To: [your-email]“, without the quotes. Very important because this will allow you to reply to the person directly!
- In the Message Body field, copy and paste the following code:
Name: [your-name] E-mail: [your-email] Message: [your-message]
When you are done, click the Save button. You should end up with a form similar to mine, located here.


#1 by justin bieber on March 6, 2010 - 5:38 PM
thanks, but im still having the same error message.
#2 by Mario on March 6, 2010 - 8:34 PM
Hello, Justin
Sorry to hear you’re still having problems. Is your website hosted on Yahoo or GoDaddy? If it is hosted on Yahoo, I have posted another article that solves the problem for WordPress sites hosted on Yahoo, which you can access here.
If your website is hosted on GoDaddy, then if you don’t mind, send me screen shots of your WP-Mail-SMTP and Contact Form 7 settings and I’ll be happy to help you. Also let me know if it’s being hosted in the Linux or Windows IIS package.
#3 by Nathan Pope on March 12, 2010 - 2:22 AM
Thank so much for the informative howto. I spent so long trying to figure out what was happening to my trusty cf7. I have installed this plugin so many times before for quite a few websites and have never run into this issue. I think I’ll be steering my clients away from godaddy in the future.
#4 by annie on March 14, 2010 - 6:58 PM
Brilliant. If only I’d found this 5 hours ago. Thanks
#5 by Nick W on March 16, 2010 - 11:21 AM
Thank you for taking the time to post this and keeping it up to date (and well labeled!), it must have saved me hours of searching for another solution. (Also it worked for me exactly as you said.)
#6 by Cathea Woodley on March 16, 2010 - 11:09 PM
I’m using Yahoo web hosting and both of your tutorials worked perfectly for me. Thanks for posting your solutions they saved me a lot of time.
#7 by Pawel Krakowiak on March 17, 2010 - 11:48 AM
Thanks for the articles! I’m not a PHP dev (not anymore) and don’t know any WordPress internals, so I was not sure how to get that thing working. I even contacted GoDaddy’s support, but it still did not work. Of course it was the same problem you described in this very post, that did the trick for me.
#8 by 211.138.124.198:80 on March 17, 2010 - 4:51 PM
Thank you for the informative post. I was searching for something related and found your site in the process.. I will definitely be back again for more.
#9 by Michelle on March 23, 2010 - 1:47 PM
Thank you so much for posting this! I’ve spent hours trying to figure out why it wasn’t working!
#10 by Ashok G on March 26, 2010 - 11:53 PM
Hey,
For me the problem is solved by just adding one plugin called the Wordpress Smtp Settings Plugin it is very simple to do just feel free to download it