Browse Source

support for unencrypted mail server usage like mailcatcher.me

Sinan Eldem 9 years ago
parent
commit
fad5c6ee9b
2 changed files with 2 additions and 1 deletions
  1. 1 0
      .env.example
  2. 1 1
      config/mail.php

+ 1 - 0
.env.example

@@ -16,3 +16,4 @@ MAIL_HOST=mailtrap.io
 MAIL_PORT=2525
 MAIL_USERNAME=null
 MAIL_PASSWORD=null
+MAIL_ENCRYPTION=null

+ 1 - 1
config/mail.php

@@ -67,7 +67,7 @@ return [
     |
     */
 
-    'encryption' => 'tls',
+    'encryption' => env('MAIL_ENCRYPTION', 'tls'),
 
     /*
     |--------------------------------------------------------------------------