diff options
author | Marvin Borner | 2018-07-20 16:34:32 +0200 |
---|---|---|
committer | Marvin Borner | 2018-07-20 16:34:32 +0200 |
commit | 74cb1477bb921a2378ea22a552b71a48c11e0931 (patch) | |
tree | 621ab17315be667c16dad8f3d5f44d67a7a47e8f /config/mail.php | |
parent | 400591b34d4b0a6288834539808a9dede8a60e3a (diff) |
Better API (integrated oauth completely)
Diffstat (limited to 'config/mail.php')
-rw-r--r-- | config/mail.php | 37 |
1 files changed, 13 insertions, 24 deletions
diff --git a/config/mail.php b/config/mail.php index bb92224..a076588 100644 --- a/config/mail.php +++ b/config/mail.php @@ -11,8 +11,8 @@ return [ | 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" + | Supported: "smtp", "mail", "sendmail", "mailgun", "mandrill", + | "ses", "sparkpost", "log" | */ @@ -55,10 +55,7 @@ return [ | */ - 'from' => [ - 'address' => env('MAIL_FROM_ADDRESS', 'hello@example.com'), - 'name' => env('MAIL_FROM_NAME', 'Example'), - ], + 'from' => ['address' => null, 'name' => null], /* |-------------------------------------------------------------------------- @@ -86,38 +83,30 @@ return [ 'username' => env('MAIL_USERNAME'), - 'password' => env('MAIL_PASSWORD'), - /* |-------------------------------------------------------------------------- - | Sendmail System Path + | SMTP Server Password |-------------------------------------------------------------------------- | - | When using the "sendmail" driver to send e-mails, we will need to know - | the path to where Sendmail lives on this server. A default path has - | been provided here, which will work well on most of your systems. + | Here you may set the password required by your SMTP server to send out + | messages from your application. This will be given to the server on + | connection so that the application will be able to send messages. | */ - 'sendmail' => '/usr/sbin/sendmail -bs', + 'password' => env('MAIL_PASSWORD'), /* |-------------------------------------------------------------------------- - | Markdown Mail Settings + | Sendmail System Path |-------------------------------------------------------------------------- | - | If you are using Markdown based email rendering, you may configure your - | theme and component paths here, allowing you to customize the design - | of the emails. Or, you may simply stick with the Laravel defaults! + | When using the "sendmail" driver to send e-mails, we will need to know + | the path to where Sendmail lives on this server. A default path has + | been provided here, which will work well on most of your systems. | */ - 'markdown' => [ - 'theme' => 'default', - - 'paths' => [ - resource_path('views/vendor/mail'), - ], - ], + 'sendmail' => '/usr/sbin/sendmail -bs', ]; |