Skip to content
Advertisement

Laravel mail will not receive by gmail users

When I send email by laravel non-gmail accounts will receive emails but Gmail accounts will not, does anyone here faced such problem before? any idea what causes that?

As my emails are receiving with half of the users I don’t think the issue is my code but just in case i share it here as well.

Observe

JavaScript

mail

JavaScript

env

JavaScript

Advertisement

Answer

I’ve changed my mail settings to GMAIL (my sender will be gmail instead of my hosting) and then I’ve turned on less security from account settings, now it sends emails to all providers including gmail users.

env

JavaScript

one

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement