From 74cb1477bb921a2378ea22a552b71a48c11e0931 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Fri, 20 Jul 2018 16:34:32 +0200 Subject: Better API (integrated oauth completely) --- config/mail.php | 37 +++++++++++++------------------------ 1 file changed, 13 insertions(+), 24 deletions(-) (limited to 'config/mail.php') 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', ]; -- cgit v1.2.3