Support more mail drivers

This commit is contained in:
printempw 2018-08-08 00:46:43 +08:00 committed by Pig Fang
parent 37bdaceeb9
commit 7797d16b04
2 changed files with 49 additions and 1 deletions

View File

@ -107,6 +107,6 @@ return [
|
*/
'sendmail' => '/usr/sbin/sendmail -bs',
'sendmail' => menv('SENDMAIL_COMMAND', '/usr/sbin/sendmail -bs'),
];

48
config/services.php Normal file
View File

@ -0,0 +1,48 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Third Party Services
|--------------------------------------------------------------------------
|
| This file is for storing the credentials for third party services such
| as Stripe, Mailgun, Mandrill, and others. This file provides a sane
| default location for this type of information, allowing packages
| to have a conventional place to find your various credentials.
|
*/
'mailgun' => [
'domain' => env('MAILGUN_DOMAIN'),
'secret' => env('MAILGUN_SECRET'),
'guzzle' => [
'verify' => config('secure.certificates')
],
],
'mandrill' => [
'secret' => env('MANDRILL_SECRET'),
'guzzle' => [
'verify' => config('secure.certificates')
],
],
'ses' => [
'key' => env('SES_KEY'),
'secret' => env('SES_SECRET'),
'region' => menv('SES_REGION'),
'guzzle' => [
'verify' => config('secure.certificates')
],
],
'sparkpost' => [
'secret' => env('SPARKPOST_SECRET'),
'guzzle' => [
'verify' => config('secure.certificates')
],
],
];