configured Office365 email SMPT doesn't work to sen email

Hi All!

I am new user on digitalocean. I transfered my doman from Godday to digitalocean and configured a droplet in which I installed a website template. everything went smoothly and workes fine. however, my website doesn’t send emails to the user, like authentication etc…

I am using Ubuntu latest version and my smpt configuration is correct in .env file. while registration to my website it sends verification emails show (Flash message) but it doesn’t come to the user. I talked to my template provider and got to know that my server configuration is not correct. I am new user of Linux and also new on Digitalocean.

Any kind of guide or help appreciates very much

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.

I am using Putty on windows. after entering the command I got the following.

Connected to Escape character is ‘^]’. 220 Microsoft ESMTP MAIL Service ready at Fr i, 27 Dec 2019 16:20:56 +0000

Hello, @Unknowreader

May I ask if you’ve configured any mailing service on your droplet as well? Another thing to do is to contact our support team via support ticket and make sure that SMTP is enabled for your account as well.

Regards, Alex

Hi @Unknowreader,

If you wish to use your server to send emails from it as well as host your website, you’ll need to install a mailing service. I’ll recommend using Postfix as it’s quite common and there are a lot of tutorials. There is even one here at DigitalOcean -

I’ll recommend going through the guide, installing and configuring your Postfix service and then trying to send a message from your droplet/server with DigitalOcean.

Regards, KDSys