laravel 联系表单错误 Swift_TransportException

我在本地对 Laravel (联系页面)进行了更改,导致出现错误

此外,查询存储在存储数据库中没有任何问题

错误是:


Swift_TransportException

Expected response code 250 but got code "530", with message "530 5.7.1 Authentication required

 "


应用程序->control.php:


<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class Contact extends Model

{

public $table = 'contact';

public $fillable = ['name','name2','email','subject','note'];

}


应用程序->http->控制器->ContactController.php:

<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class Contact extends Model

{

public $table = 'contact';

public $fillable = ['name','name2','email','subject','note'];

}


ABOUTYOU
浏览 122回答 1
1回答

呼唤远方

您有 MAIL_ENCRYPTION=465,您想将其设置为:MAIL_ENCRYPTION=ssl
打开App,查看更多内容
随时随地看视频慕课网APP