So i have created an App in Laravel 7 and Deployed it in Godaddy Shared hosting, everything works except for the Mailing.
This is the .env values
MAIL_MAILER=smtp
MAIL_HOST=smtp.office365.com
MAIL_PORT=587
[email protected]
MAIL_PASSWORD=password
MAIL_ENCRYPTION=TLS
[email protected]
MAIL_FROM_NAME="YourName"
and the value in config/mail.php
'default' => env('MAIL_MAILER', 'smtp')
This is working Perfectly in Localhost, but when i deployed to goDaddy shared hosting, this doesnt seems to work.
I have tried changing the value to .env value to MAIL_MAILER=sendmail
and congif/mail.php to 'default' => env('MAIL_MAILER', 'sendmail')
This doesnt show any error, also displayed to Success Message. but Mail not being sent.
What is the Fix ?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…