我在本地对 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'];
}
呼唤远方