Iam using laravel 5.7 which comes with default email verification.
I'm using the below configuration for smtp with google which works fine.
MAIL_DRIVER=smtp
MAIL_HOST=smtp.gmail.com
MAIL_PORT=587
MAIL_USERNAME=shrikanth003
MAIL_PASSWORD=myemailpassword
MAIL_ENCRYPTION=tls
MAIL_FROM_ADDRESS=shrikanth003@gmail.com
MAIL_FROM_NAME="Project Name"
i have a domain and hosting from globehost for my live site for which im unable to configure the smtp. In the hosting control panel i clicked on email accounts and created no-reply@domain.com which i want to use for these emails. But it doesn't work here is the config
MAIL_DRIVER=smtp
MAIL_HOST=bh-69.webhostbox.net
MAIL_PORT=465
MAIL_USERNAME=no-reply@ezcures.in
MAIL_PASSWORD=emailpassword
MAIL_ENCRYPTION=tls
MAIL_FROM_ADDRESS=no-reply@ezcures.in
MAIL_FROM_NAME="Project Name"
It shows an error
Connection to tcp://bh-69.webhostbox.net:465 Timed Out
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire