Skip to content

Fix “Failed to send your message. Please try later or contact administrator by other way.”

A few days ago I received a mail from a reader, notifying me that my contact form was not working. I use Contact Form 7 on my blog and I was very surprised by the fact that it was not working. It usually is just plug and play.

The error message I was getting was “Failed to send your message. Please try later or contact administrator by other way.”. A quick Googling and I came upon this post by Mario Vargas. I then realized that the error I was getting was because my mail settings were messed up. You can find my mail settings on the screenshot below:

Contact Form 7 - Bad configuration
Wrong config for Contact Form 7. Click on picture to enlarge.

As you can see, I was using the reader’s email address to send me emails. This was the wrong thing to do. Even if the mail would be sent, it would be flagged as spam. As a general rule, you should only send emails belonging to your domain from your domain. (send only mails from

So, I applied this formula. I changed the senders email to one that belongs to me. The screenshot below speaks for itself:

Contact Form 7 - Good configuration
Good config for Contact Form 7. Click on picture to enlarge.

This simple little trick worked for me. It saved me a lot of time since I did not have to tweak my server.

Published inBloggingCoding
  • Sometimes you get lucky and this was one of them. Your fix had me up and going within minutes. Thanks very much!

    • I have used contact form 7 on my own server many times on many wordpress sites with no issues, then all of a sudden with a client’s server, I was getting this error. This fix saved me more searching. 🙂 Thank you so much!

    • Sadia Rashid

      fixed thanks a lot 🙂 cheers

  • fixed it for me too thanks.

  • Thanks Jevin!

    I was stumped by this very problem and tried downloading both Cimy Swift SMTP and WP-Mail-SMTP based on advice posted on other forums. I am a relative novice at WordPress so most of this was greek to me. The above mentioned SMTP plugins did not fix my issue (undoubtedly because I wasn’t using them properly). Still, this tip did work and was relatively simply.

    After following your explanation I was up and running in no time. FYI, I created my WordPress site through Yahoo Small business (specifically via the control panel). The email that I had to use was the email that I’d set the wordpress blog up under.

    My website is For illustration purposes my email is (Not really I just want to avoid spam). I had created that email address with Yahoo and that is the email address that is the default in my Word Press settings menu.

    Hence, that is the email that allowed the contact form 7 to work. I tried putting in other email addresses but none worked.

    I don’t know why, but happily things are working now. Thanks for the tip!

  • Thanks for this tip! I always use Contact Form 7 and just encountered this problem installing a site on a server which has already made me swear several times! Great tip – worked straight away, no plugins needed.

  • Hi Jevin,

    Thanks for your kind help. I was looking for the solution for whole the day and at the end of the day I came across your article and found the perfect solution that works for me. Again thank you very much for your help.


  • Pingback:

  • John benedict

    i was also having a problem sending error with same error with red border.

    can you assist me on how to setup. currently using wordpress 3.0 and this plugin.

    correct me if im wrong? from what i understand the sender is ME right? but my Domain from where i install my wordpress doesnt have domain email. just using Yahoo n Gmail as my personal email.

    How do i resolve this issue.


    Really wanted to put a Leave Reply Message / Contact us. in my site.,

  • Hi John

    You’ve got it right. The sender is you @ your domain. Even if you don’t have a domain email, this fix will work. Just use a fictitious email address in that case. Let me know if it works. 😉

  • John benedict

    Im using only subdomain to test my website hosted in, already tried different email Yahoo. Gmail and even i dont have email of i also did try making even though its not exsisting but still not resolve the problem. same Error with the red border

    Failed to send your message. Please try later or contact administrator by other way.

    Is there a way to troubleshoot this. i really need to have Contact form / feedback form in my site.

  • John benedict

    by the way i have just read SMTP is disable in free account im just using a free account to test my website.

  • Amazing! Thanks so much. I was scratching my head at this for a while. I wonder why it doesn’t say anything about this in the actual plugin FAQ?

  • Muke

    Pure Genius!! It worked. Just be sure that you capture and use the Tag for From.

  • I have tried everything, it doesn’t work. Is there any other solution?

    • it doesnt work for me either…

  • Penny

    Just thought I’d chime in.. but I had the same problem using a Contact form on the Boldy Theme, and my host.

    When creating a new e-mail address I have a checkbox that says “(Check this box to set the new email as default “From” address for emails sent from scripts in your hosting account)”.

    After creating a new address on my server with this option my contact box works great! : )

    If you have this hosting option it should help you out.

  • Thanks a lot, was stuck with this in a client project and found this just in time 🙂

  • Riti

    Thanks a billion.
    It worked like a charm.
    My site hosting is yahoo.

    Just to confirm that this worked also with yahoo hosting.


  • Pingback: Fix “Failed to send your message. Please try later or contact administrator by other way.” | Technoreply()

  • This has ALWAYS been an issue, particularly with GoDaddy hosted stuff (as in my case this time).

    Mr. Obvious did NOT manage to clock me upside the head to my dismay so … thank you for the screen shots!!! They pointed out the blindingly obvious error of my ways… != person filling out form’s email… dergh, 90 minutes down the drain followed by massive *face palm*.

  • Thank you for quick fix.

  • cant send says errors.pratiksha patel

    failed to send massages

  • A friend of mine and me have described this specific topic. Your blog blog post help settled our argument. I’m going to continue reading much more posts! Thank you.

  • Thanks for this! Was having problems with sending from Yahoo hosting (client’s choice) and the other documentation was complicated and didn’t work. The simplest solutions are the best. Thanks again!

  • arachelito

    Hi, you help me a lot,
    On Form- Email

    the problem that i had was
    i type with [ ]
    then on your image show without []

    I delete it, and work


    • Benny

      Hi everyone,

      I m new using contact form on my site, hosting is with godaddy. I have error in my form. When i submit the form it says, Failed to send your message. Please try later or contact administrator by other way… But it works perfect in my local host. Please could you guide me in this.,,

      Hope anyone help me!

  • arachelito

    work it 🙂


    Not work it with [] 🙁


    like your image

  • This helped me out tremendously. I was having this issue for about 20 mins and came across your post. Thank you very much for this!

  • this workS!

  • Thank you thank you thank you

    Bluehost seems to have changed its email policies and CF7 suddenly started getting stuck when trying to submit forms. You just saved my day! THANKS A LOT for posting this solution.

  • Joe

    I applied your suggestions and it worked! I wish it was always this easy to fix things when they don’t go according to plan. Thank you so much, now I can spend countless hours being frustrated with something else, at least this was fixed quickly!

    • J


  • Hi,

    I have tried all night to get this to work. I keep getting the same message. What is the typical problem in this circumstance. I never changed anything originally on the contact forms. After upgrading WordPress several updates ago, suddenly I was receiving this “Failed to send…” message.

    Is there another resource, step-by-step for this somewhere?


  • Rexedead

    It works! Thanks!

  • Thank-you, thank-you, thank-you, a million times thank-you.

    I’ve been going nuts trying to solve this and then set things up as you suggested — and badda-bing, I get the success message! (And an email in my in-basket too.)

  • J

    Thank you, thank you, thank you!!!

  • Cheers, this works. I always forget about this! Thankfully, you’re the first Google result.

  • Wow, I was ready to start digging into the code and test different versions of the plugin but luckily did a quick Google search first. You saved me a lot of headache I can tell because your easy solution worked.

    The site I’m working on is hosted on Yahoo and I’m sure that it’s a server security setting on their side. It’s not ideal because I’d rather have their email address as the sender but you gotta do what you gotta do.

    Thanks for posting this.

  • Benny

    Hi everyone,

    I m new using contact form on my site, hosting is with godaddy. I have error in my form. When i submit the form it says, Failed to send your message. Please try later or contact administrator by other way… But it works perfect in my local host. Please could you guide me in this.,,

    Hope anyone help me!

  • Damn it took me hours to figure it out, but it was just so simple!

    Thank you very much!

  • James

    Awesome. Worked for me!

  • You ROCK man

  • Nikhil ZOpe

    Thanks a ton brother.. 😀

  • if it would help i’ve solved that error putting a text in a letter body, and changed from to fields

  • Vanessa

    Thanks very much! So lucky to find your article!

  • Kiran

    i used all ways that are suggested in different blogs but i didnt got the answer. mail is going to all other mail ids bot not to ids ends with .net…. is there is problem with cf 7 to send mail to those ids? plz help… i m not getting what to do with this..

  • Kiran

    if i put the send to address as ”” it shows ” Failed to send your message. Please try later or contact the administrator by another method.” it fails to send mail…

  • didnt work for me

  • Chandra Prakash Agrawal

    I am still unable to work with this trick. Is there any other solution to solve this issue?

  • George

    Not working for me.

  • Tom

    Coolio, worked for me

  • SD


    I was searching for this. Its solved for me. Nice one!!!

  • I hope this can work;

    1. Ensure the To and From emails actually do exist in your domain
    2. Ensure you have the following in your message body

    From : [your-name]

    Message body :

    I did the above changes and the problem was gone.


  • did not work for me either

  • Ann Siegle

    I had to use Alex’s suggestion and include this in the subject body section of the e-mail to get mine to work:

    From : [your-name]
    Message body :

  • If you’re on a Windows server (sympathetic hug), this might be a slightly bigger issue related to PHP’s mailer function. I found the solution via, in which they recommend using the WP Mail SMTP WordPress plugin, which “reconfigures the wp_mail() function to use SMTP instead of mail() and creates an options page to manage the settings.”

    The server I was working insisted on refusing to work, so I dug a little deeper and found a list of free SMTP servers you can use as an alternative to your own server, if it’s like the one I’m using and is full of hangups and insecurities. Poor guy. I don’t have that link at hand but you know… Google it. I tried several servers until I found one that worked, and that was that. Errors were erradicated, mail was sent, champagne was poured.

  • Crystal

    Thank you very much for this post. This was BIG HELP.

    Keep up the good work!

  • ghghghhgh

  • Actually its a perfect way running wordpress version 3.4.2 on nginx with php 5.3 and it worked like a charm

  • Thank you friend.

    You have made my day 🙂

  • Bryan

    Thanks for posting this. I discovered that when I migrated from my dev server to my prod site that my Contact Form 7 lost most of its Mail and Mail (2) settings. Your post helped me know where to look and notice the problem.

  • Pingback: [Solve] Unable to send mail from Contact Form 7 | Crackjet Simplified()

  • thank you, you saved my customer and time

  • Pingback: Wordpress – Contact Form 7 Send Error()

  • Pam

    Thanks to much, so saved me alot of time!!!

  • why my message is faild why

  • woooowww…..

    Awesome … Solution… 🙂 Worked for too…

  • Jevin, you are my HERO mister. Thank YOU ever sooooo much. Once I’ve posted my comment, I’m off to another blog who is rating higher than your right now, and I’m going to correct them. They are WRONG and your fix WORKED! Yaba-daba-d0000 🙂 {{{HUGS!}}}

  • Thanks a lot for this. It really helped

  • i m write to email in genera; setting then this email is display to contact form 7 inTO: field…. so tell me to and from email is write to different???? and i saw the result in my google email address so its generate FROM field or TO field??

  • Yup

    Saved the day! Thx!

  • Thanks Jevin, your insight was a big help in resolving this issue.

  • I followed all the steps but it doesn’t seem to work for me, I still see the message when trying to send an email.

  • Gauri

    Thank you very much
    This post helps me a lot…


  • Loren Helgson

    I had this happen to me as well. Somewhere between my updates of WordPress 3.3 and 3.5.1, my settings got borked, and the contact form stopped working. Thanks for confirming that this was the issue.

  • Manu Dutt

    Great Post this was of great help. Still wondering how it was working before?

  • sander

    I’ve tried to but it don’t work for me:S
    I’ve set in the ‘to’ my contact@mydomain
    and in the ‘from’ aswell my contact@mydomain

  • did not work for me.

  • Hi, Thank you so much for this help. It works for me.

    Thank Again

  • you saved the day
    thanks a lot

  • Thanks that just saved my day. I had been searching for a while now!

  • I’m still having the same issue, after taken the steps from the above image. Any suggestions?

  • Thanks it worked for me. Very Nice.

  • Tereve

    Getting the same message. “Failed to send your message. Please try later or contact the administrator by another method”. However I am using a local installation of wordpress. When I just set up the form it worked. install other plugins and add other pages and check it again in a few hours and it refuse to work. I even reinstall a fresh version of wordpress and try it again and it still doesn’t work.

  • Pavan

    Only set message body.

  • Thanks man, this fixed it!!!

  • Anu

    Wowwwwwwwwwwwwwww….ur simply awesome..this fixed my error!!! thanks a ton

  • Dee

    Thank you for this simple fix

  • You saved my life, two lost days trying to fix the problem. Thank you SO MUCH.

  • Sergio

    Hello configure the form as mentioned and it works fine, but the form that contains an attachment by pressing send sample legend (Failed sending your message. Please try again later or contact administrator by other means.) But the mail is send the same. I receive in my inbox. and solved it?
    From and Many Thanks

  • Ashish

    Thanks You saved my day

  • arlene

    Thanks a lot

  • Rhamses

    I did everthing that your post told, but the error persists. What else could be? I’m in the windows server with the last version of Contact 7 installed.

  • Pingback: Meostar Graphix & Data Solutions | Contact Form 7: Failed To Send Your Message()

  • Hi there Dear, are you actually visiting this site daily, if so after that you will
    absolutely get pleasant experience.

  • I tried the way as mentioned in the figures , as well the suggestions found in feedbacks but still my problem continues for similar error.

    I could not exactly understand what actually is to be put under To and From, the whole game is behind these two.

    Please explain in brief with proper examples and ideal values for each given fileds.

    Thanking in advance

  • Pingback: Contact Form 7 Godaddy Hosting – Cyber Sun()

  • SAI

    Can someone please say me what to put in to field pplease help me

  • Thankyou! Worked for me! (y)

  • Hi There,

    First of all thank you for your nice post. I was going nuts that my contact form 7 was not redirecting to thankyou page. it was showing 404 page and it is redirecting to thank you page. But here I require little guidance in the contact form I had mentioned from email id as xx1&” and in contact form i mentioned as So in the given scenario a mail should go to xx2 and a intimation mail to xx1. Its not happening in this case. Can you please guide me

  • T13

    Absolute Legend!! Thank you so much!!

  • fixed it for me too thanks.

  • Tom

    Thank’s man! I Got messed up trying to find the fix for it.

    Your solution works fine for me! Whoooohaaa!

  • George

    Thank you. Perfect! helped to save time.

  • Jim Kinney

    Thanks for this information. I read numerous forums trying to fix the problem until I found your page.

  • You’re awesome, thanks!

  • Tamer

    Thank gods!
    It’s 2016 and still this error in defolt form.

  • Ben

    Worked wonders!

  • Uncle Jim

    Still works! Thanks!

  • You saved my day!

    Akash Roy
    CEO, JPR Infoserve PVT LTD

  • Henrik

    Thank you very much!

  • Helena

    Yes! You saved me a sleepless night! Thanks…

  • Christine

    Worked perfectly! Thank you!

  • Pingback: Fix “Failed to send your message. Please try later or contact administrator by other way.” – Technoreply | NizMoTek IT Solutions()

  • Thanks, It works for me. save me a lot of time (-:

  • Ahmed

    not work for me

  • Thank you so much. Fixed for me too 🙂

  • Thank you so much. you saved me. once again thank you

  • JG

    I’m running Axigen and Apache. In may case permissions was the issue:

    [root@**********]# tailf /var/log/httpd/error_log
    sendmail: fatal: open /etc/postfix/ Permission denied

    setsebool -P httpd_can_sendmail=1

    Result: Contact Form 7:
    Thank you for your message. It has been sent.

    I hope it helps

  • I’ve used this fix for years, all of a suden, beginning April 2016 all my forms stopped working. Yahoo Small Business (now Aabaco) argues the problem is not on their end.

    Any ideas?
    Does this happened to you?

    • alireza

      I’ve the same error. Is there any body to solve it?

  • I had the same prb. Even tried WP SMTP plugin but still not working.
    It’s easy now with Postman plugin. I think this is better! work for me

  • Ꭻe lost je problemen mеt deze korte lening niet ᴢo 1, 2, 3 op.

    Sterker noց, je kunt jezelf alleen maar dieper іn ɗe schulden werken.

  • inhadat
  • Siliguri Web Media

    Need a Website? Hire a Freelancer. Sit back and Relax. All your needs will be taken care of.



  • Jose Rodríguez

    Warning: mail(): “sendmail_from” not set in php.ini or custom “From:” header missing in C:xampphtdocsTexas-Lawyer-2-masterphpcontact_form.php on line 56

  • Jose Rodríguez

    tengo ese error

    $to = ''; // please change this email id

    $errors = array();
    // print_r($_POST);

    // Check if name has been entered
    if (!isset($_POST['name'])) {
    $errors['name'] = 'Please enter your name';

    // Check if email has been entered and is valid
    if (!isset($_POST['email']) || !filter_var($_POST['email'], FILTER_VALIDATE_EMAIL)) {
    $errors['email'] = 'Please enter a valid email address';

    //Check if message has been entered
    if (!isset($_POST['message'])) {
    $errors['message'] = 'Please enter your message';

    $errorOutput = '';


    $errorOutput .= '’;
    $errorOutput .= ‘×’;

    $errorOutput .= ”;

    foreach ($errors as $key => $value) {
    $errorOutput .= ”.$value.”;

    $errorOutput .= ”;
    $errorOutput .= ”;

    echo $errorOutput;

    $name = $_POST[‘name’];
    $email = $_POST[’email’];
    $message = $_POST[‘message’];
    $from = $email;
    $subject = ‘Contact Form’;

    $body = “From: $namen E-Mail: $emailn Message:n $message”;

    //send the email
    $result = ”;
    if (mail ($to, $subject, $body)) {
    $result .= ”;
    $result .= ‘×’;
    $result .= ‘Thank You! I will be in touch’;
    $result .= ”;

    echo $result;

    $result = ”;
    $result .= ”;
    $result .= ‘×’;
    $result .= ‘Something bad happend during sending this message. Please try again later’;
    $result .= ”;

    echo $result;


  • The Webspikel Team

    Thank! for share helpful knowledge fix and problem in website related contact us 7 plugin.We are website designer in Patna developed lots of website we are resolved our issue with help of above step.

  • The Webspikel Team

    Thank! for share helpful knowledge fix and problem in website related contact us 7 plugin.We are website designer in Patna developed lots of website we are resolved our issue with help of above step.

  • t&r Lens

    awardspace black friday sale 2017 is live now and you can grab the maximum discounts on it only today. If you are planning to a strong server for your website irrespective of average cost, you can opt

Twitter Profile Picture

Jevin Sew

1645 Tweets
274 Following