Question

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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

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