Report this

What is the reason for this report?

configured Office365 email SMPT doesn't work to sen email

Posted on December 26, 2019

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



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!

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 FRA-efz.ms-acdc.office.com. Escape character is ‘^]’. 220 AM0PR06CA0031.outlook.office365.com Microsoft ESMTP MAIL Service ready at Fr i, 27 Dec 2019 16:20:56 +0000

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 - https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-postfix-on-ubuntu-18-04

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

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.