laravel Expected response code 250 but got code “530”

后端 未结 9 786
有刺的猬
有刺的猬 2020-12-06 17:19

Im trying to Mail in Laravel 5.1

my mail.php code is

 return [
     \'driver\' => env(\'MAIL_DRIVER\', \'smtp\'),
     \'host\' => env(\'MAIL_HOS         


        
9条回答
  •  鱼传尺愫
    2020-12-06 17:52

    you need to enable your 2 step verification from gmail account.

    https://myaccount.google.com/security

    then use the generated key from there to your ENV_PASSWORD instead your real password.

提交回复
热议问题