Question

not able to send email from laravel application

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


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.

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