Error while sending email on GoDaddy Server: Laravel 5.1

前端 未结 6 1984
借酒劲吻你
借酒劲吻你 2020-12-17 03:50

I am using inbuilt template of Login System in Laravel 5.1

When I use Forgot Password on localhost, everything works. Below are my keys in .env file<

6条回答
  •  眼角桃花
    2020-12-17 04:48

    One of the reasons could be wrong Mail_RRIVER etc in the .env file. Please make sure you put the right information there, e. g. for GMAIL the following input will work!

    MAIL_DRIVER=smtp
    MAIL_HOST=smtp.googlemail.com
    MAIL_PORT=465
    MAIL_USERNAME=****@gmail.com
    MAIL_PASSWORD=****
    MAIL_ENCRYPTION=ssl
    

提交回复
热议问题