Question

WordPress Contact 7 plugin "Failed to send your message. Please try later or contact the administrator by another method." error

  • Posted September 9, 2013

I moved my website to DO 2 days ago (using one-click wordpress installation), I have a contact form using Contact 7 plugin for wrodpress. at first it was working but sending the email took around 30+secs. So I thought restarting the droplet will fix this.

Actually after restarting the droplet it stopped working & now it give me “Failed to send your message. Please try later or contact the administrator by another method.” error, how can I fix this? it was working properly on my previous hosting.

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

May not be related to this post, but I did find the fix for my issue. I am running an Ubuntu droplet and it appears that I did not have an SMTP service setup. <br> <br>Running apt-get install sendmail fixed my issue. <br> <br>Original article here. <br>https://www.digitalocean.com/community/questions/php-mail-function-enable

Having the same issue, terminal said <br>/usr/lib/sendmail: No such file or directory <br> <br>after <br> <br>echo test | mail your@emailaddress.com <br> <br>I am going to do some more digging to find the fix.

Try restarting your droplet. That should fix it.

Do you need to send mail from your droplet for anything else, other than WordPress?

Apparently I had to install postfix, but now it’s not sending emails & when I try to run postfix I get this error <br> <br>postfix/postfix-script: fatal: the Postfix mail system is not running <br> <br>when I tail mail.err & mail.log I see these errors <br> <br> Sep 13 11:24:43 localhost postfix/postfix-script[18026]: fatal: the Postfix mail system is not running <br> Sep 13 11:24:54 localhost postfix/master[18130]: fatal: bind 0.0.0.0 port 25: Address already in use <br> Sep 13 11:25:01 localhost postfix/postfix-script[18148]: fatal: the Postfix mail system is not running <br> Sep 13 11:25:04 localhost postfix/master[18249]: fatal: bind 0.0.0.0 port 25: Address already in use

SSH into your droplet and run the following command: <br> <br><pre>echo test | mail your@emailaddress.com</pre> <br>Do you get the email address? What’s the output of said command?

But it was working before restarting the droplet so I don’t think I need this

Check out: <a href=“https://www.digitalocean.com/community/questions/wordpress-email-notifications”>WordPress email notifications</a>