I am try to send email using laravel in local machine work with my setting but not on godaddy share hosting
my .env:
MAIL_DRIVER= smtp
MAIL_HOST= smtp.gmail.com
MAIL_PORT= 587
MAIL_USERNAME= my email id
MAIL_PASSWORD= my pswrd
1. Wrong settings
The Gmail SMTP servers and the connections are encrypted with SSL and are accessible through port 465. For TLS encryption, use port 587. So it depends on the type of encryption you've set in your .env file.
2. Blocked port/mailservers
I don't have any experience with GoDaddy at all, but maybe they've blocked outgoing SMTP connections to remote servers on their shared hosting platform. This is probably a less likely option, so I'd check #1 first.