SMTP not working anymore

Posted October 16, 2019 4.2k views

“Contact your web hosting provider and ask them to verify your server can make outside connections. Additionally, ask them if a firewall or security policy may be preventing the connection - many shared hosts block certain ports.”
I’m pasting what the WP Mail SMTP Plugin spit out when it error-ed to make sure i don’t forget anything. I had email working earlier but out of nowhere it stopped. Does Digital Ocean Block SMTP?

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.

Submit an Answer
1 answer

Hi @Neffy,

You can configure your Droplet anyway you want. Digital Ocean does not limit this service in any way.

Now to troubleshoot the issue, can you please enter your droplet via SSH like

ssh root@IpOfYourDroplet

and type the following

netstat -tulpen | grep -E '(465|587|25)'

This command will show you what, if anything is listening on ports 565/465/25. Those ports are the ones used for SMTP and the command will also show you which service for sending mail you are using.

Additionally, can you provide us with the settings of your WP Mail SMTP Plugin to check if they are correct?


  • After submitting those commands this is what I got:-

    tcp 0 0* LISTEN 0 48273386 3452533/sshd: /usr/
    tcp 0 0* LISTEN 0 30171 3119/master

    tcp6 0 0 :::22 :::* LISTEN 0 48273397 3452533/sshd: /usr/
    tcp6 0 0 ::1:25 :::* LISTEN 0 30172 3119/master

    What do I do now to make the SMPT work?