- // Email encryption protocol
- 'encryption' => env('MAIL_ENCRYPTION', 'tls'),
+ // Mailer Configurations
+ // Available mailing methods and their settings.
+ 'mailers' => [
+ 'smtp' => [
+ 'transport' => 'smtp',
+ 'scheme' => null,
+ 'host' => env('MAIL_HOST', 'smtp.mailgun.org'),
+ 'port' => env('MAIL_PORT', 587),
+ 'username' => env('MAIL_USERNAME'),
+ 'password' => env('MAIL_PASSWORD'),
+ 'verify_peer' => env('MAIL_VERIFY_SSL', true),
+ 'timeout' => null,
+ 'local_domain' => null,
+ 'tls_required' => ($mailEncryption === 'tls' || $mailEncryption === 'ssl'),
+ ],