Report this

What is the reason for this report?

Unable to send notification by mail via SMTP on DigitalOcean droplet

Posted on June 25, 2019

I’m using Laravel 5.8 and I sending emails via Laravel notifications. I can send email from localhost, but I am unable to do that from DigitalOcean droplet.

My DNS records: http://prntscr.com/o6jrrq

Actual exception: https://hastebin.com/gaqudoguxe.cpp

cache:clear did not nothing.



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.

Hello,

Seems like you are using incorect SMTP login details and your Laravel application is failing to authenticate. You need to make sure that you add the correct SMTP login details in your .env file.

At the moment I can see that you are using ‘mymail@gmail.com’ as username.

Hope that this helps!

Regards, Bobby

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.