Skip to content
Permalink
Browse files

Switch the mail driver back to sendmail

Using SMTP was necessary in the previous container-based setup, but
being back to direct deploy means sendmail is once again readily
available to the application and an additional credential is no longer needed.
  • Loading branch information
lovett committed Nov 19, 2019
1 parent d57e1ac commit 935508f052713ffa3a480c7c0e6e72364f3d173b
Showing with 2 additions and 7 deletions.
  1. +0 −1 .env.example
  2. +0 −4 ansible/install.yml
  3. +2 −2 config/mail.php
@@ -2,5 +2,4 @@ APP_ENV=local
APP_DEBUG=true
APP_KEY=
APP_URL=https://example.com
MAIL_DRIVER=sendmail
MAIL_FROM_ADDRESS=toils@example.com
@@ -115,10 +115,6 @@
- "php artisan view:cache"
environment:
APP_KEY: "{{ toils_app_key }}"
MAIL_HOST: "{{ toils_mail_host }}"
MAIL_USERNAME: "{{ toils_mail_username }}"
MAIL_PASSWORD: "{{ toils_mail_password }}"
MAIL_FROM_NAME: "{{ application_name }}"
MAIL_FROM_ADDRESS: "{{ toils_mail_from_address }}"
APP_URL: "{{ toils_app_url }}"

@@ -18,7 +18,7 @@
|
*/
'driver' => env('MAIL_DRIVER', 'smtp'),
'driver' => env('MAIL_DRIVER', 'sendmail'),
/*
|--------------------------------------------------------------------------
@@ -59,7 +59,7 @@
'from' => [
'address' => env('MAIL_FROM_ADDRESS'),
'name' => env('MAIL_FROM_NAME', env('APP_NAME')),
'name' => env('MAIL_FROM_NAME', 'Toils'),
],
/*

0 comments on commit 935508f

Please sign in to comment.
You can’t perform that action at this time.