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
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.

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