Question

How to send a email from wordpress droplets

I bought a wordpress droplets. I migrate my websites here. Before, I use gmail and work well.Now it does not work. I use wp mail stmp plugin. When test email send,I get follows message: There was a problem while sending the test email.

An issue was detected.

This means your test email was unable to be sent.

Typically this error is returned for one of the following reasons:

  • Plugin settings are incorrect (wrong SMTP settings, invalid Mailer configuration, etc).
  • Your web server is blocking the connection.
  • Your host is rejecting the connection. How to fix?Or you could tell me how to mail other way.Anyway wordpress need contacct and send mail

Submit an answer

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi there @zengliwen,

What I could suggest here is rather than using port 25 is to use port 587 with TLS.

By default port 25 is closed for new accounts.

Another thing that I would recommend is, if you have ufw enabled, you need to open port 587 via your ufw:

  1. sudo ufw allow 587

Let me know how it goes. Regards, Bobby