How to enable SMTP?

I host a website on my DigitalOcean server and I want to send verification emails to my users when they sign up for an account. But the SMTP is blocked by DigitalOcean. I contacted them to ask them enable it, but they said that they are able to enable it only after 60 days of usages. But I need it right now or my website cannot run! What should I do? Thanks!


D.O. allows spam emails to be sent manually the old fashion way, but block all smtp services that are built to filter spam…

Way to go, double negative.

smtp requires a secure third party mail server that follows strict quidelines to route mails through.

whereas plain email server functionality (the chosen method for spammers) is working fine. Just tedious to set up. in this way, spam is only filtered by the recieving server. (ie. Gmail, the worlds leading spam filter thats put decades into filtering spam, yet D.O. thinks there solution is better.)

Why not prevent installation of certain progs while your at it? (Postfix, exim, mutt, sendmail, or my favorite, bash, yes you can send an email using only bash.)

Thanks for the trouble. Your solution is laughable and highly inconvienences the people you wish to help.

Btw spammers would just circumvent it by making smtp not look like smtp. Please consider a new approach.

Hey Victor,

Did you find a solution? I have an e-commerce project in hand and if I can’t send confirmation email and billing details to customers, going with digitalocean is pointless.

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.

Pinned Answer

Hello, all

This is something we have been doing to reduce spam on our network. Please do not think that we are accusing you of sending spam, it is more that we simply cannot accurately determine who is going to send it.

Stopping spam is a constant fight, so we have implemented some restrictions on newer accounts. To qualify for the ability to send out email, we do require accounts to wait 60 days before we can look into removing the restriction. Once your account has reached 60 days of stable use, please do reach back out to us so we can look into this for you.

Hope that helps! Regards, Alex

Oh my god, its 2019… And I can’t send bloody email??

I have lost literally 1 week trying to discover why my droplet is not sending emails. It’s true that DigitalOcean has blocked SMTP??? What sense has it nowadays in a server?

if this is true you could at least point it clearly in your tutorials instead of wasting people’s time on installing and debugging your platform. as said above, your system is then pointless and it is really stupid to start whatsoever private or commercial service on your platform. kind regards

Just wow. I have been loving my experience after moving to Digital Ocean but this is just plain silly. I am an active developer and also teach computer science, so I often have to experiment with this or that platform/technology. I pay for a virtual server so I can deploy whatever I want when I want, and tear it down when I am done. Today I wanted to teach my class about email communications by standing up a quick and dirty SMTP server but after multiple failures discover that it is simply not possible on DO servers? Beyond lame. Yes, I know I can accomplish with external services, but why in the world should I have to if I have my own server?

It might be out of corporate security policy to trust some external provider to send emails. E.g. we’d like to send sentry notifications and alerts about our servers to our mailboxes and it’s not acceptable to use any provider like mailgun or pepipost with that information.

Very disappointing.

This doesn’t seem right. We are using DO to get more freedom and now DO asking us to buy SMTP services from the third party. If we need to buy SMTP from the third party, then I don’t think so we can use DO. I recommended DO to one of my clients, and now I am unable to share this limitation with the client. Definitely, in future, I will not be able to do business with DO. Also, no more recommendation.

have just activated a droplet, deployed my application and i use google as my mail server, but now my application cannot send activation emails because smtp is blocked. I really like digital ocean but it doesnt make sense to stay because my application is now useless

F**k, we just start the server and notice this scam!

I am setting up Ghost for an event in October and November.

How am I going to invite people to be contributers to the site when the email does not work???

In 60 days the event will be over.

Digital Ocean should do vetting for exceptions to the 60 day rule.

At least give us a chance!!!


What!!! I cannot send activation emails with my server ?

And this guy form DO is asking me to get an SMTP server from other service provider.

I am going to move all my Apps to AWS.