Expected response code 250 but got code “”, with message “”

前端 未结 6 1605
时光说笑
时光说笑 2020-12-06 04:17

I can send my emails in localhost flawlessly. but ever since I uploaded my program into a hosting site I get this error

Expected response code 250 bu

6条回答
  •  余生分开走
    2020-12-06 05:10

    This one worked for me, 'if you are using GMAIL'

    1. Go to 'My Accounts'
    2. Go to 'Sign-in & security'
    3. Scroll down to 'Allow less secure apps'
    4. Switch #3 to ON

    After doing this and if you just recently set up your email configurations on laravel and still doesn't work, try running:

    php artisan config:cache
    

提交回复
热议问题