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

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.

×
1 answer

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

Submit an Answer