-
Notifications
You must be signed in to change notification settings - Fork 7
Closed
Description
我的 .env
文件里:MAIL_DRIVER=directmail
,config/services.php
添加了如下:
'directmail' => [
'key' => env('ALIYUN_ACCESS_KEY_ID'),
'address_type' => 1,
'from_alias' => 'fucker',
'click_trace' => 0,
'version' => '2015-11-23',
'region_id' => 'cn-hangzhou',
],
结果就报错了。
Laravel 版本:5.7
我在 config/mail.php
里看到:
/*
|--------------------------------------------------------------------------
| Mail Driver
|--------------------------------------------------------------------------
|
| Laravel supports both SMTP and PHP's "mail" function as drivers for the
| sending of e-mail. You may specify which one you're using throughout
| your application here. By default, Laravel is setup for SMTP mail.
|
| Supported: "smtp", "sendmail", "mailgun", "mandrill", "ses",
| "sparkpost", "log", "array"
|
*/
'driver' => env('MAIL_DRIVER', 'smtp'),
该如何解决呢?
Metadata
Metadata
Assignees
Labels
No labels