Report this

What is the reason for this report?

not able to send email from laravel application

Posted on March 12, 2020

i have installed laravel and wish to send email to registered users in the application

i have cpanel installed and when i am sending email by the default configuration provided by cpanel in the .env file of the laravel application the mails are bouncing

i am using roundcube for webmail

i found that in the domain configuration in the digital ocean configuration the mx record was not present

i am receiving mails in the webmail but not able to send mails.

pls advise

best regards

srinivas domain is safevision.in



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 @infoSeal,

I would recommend trying to use port 587 with tls rather than 25 and see if this works.

If not, what I could suggest is making sure that port 587 is open for outgoing TCP connections via your firewall.

If this still does not work, I could suggest connecting to your Droplet via SSH and testing if you can connect on port 587 with telnet:

telnet portquiz.net 587

Let me know how it goes! 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.