Browse Source

Update mailer config

Jordi Boggiano 7 years ago
parent
commit
d37817e0b0
3 changed files with 7 additions and 0 deletions
  1. 2 0
      app/config/config.yml
  2. 3 0
      app/config/defaults.yml
  3. 2 0
      app/config/parameters.yml.dist

+ 2 - 0
app/config/config.yml

@@ -80,6 +80,8 @@ swiftmailer:
     host:      '%mailer_host%'
     username:  '%mailer_user%'
     password:  '%mailer_password%'
+    encryption: '%mailer_encryption%'
+    auth_mode: '%mailer_auth_mode%'
     spool:     { type: memory }
 
 fos_user:

+ 3 - 0
app/config/defaults.yml

@@ -7,3 +7,6 @@ parameters:
     redis_dsn_test: redis://127.0.0.1/14
     assets_version: 1234
     trusted_ip_header: ''
+    mailer_encryption: tls
+    mailer_auth_mode: login
+    fingers_crossed_handlers: []

+ 2 - 0
app/config/parameters.yml.dist

@@ -12,6 +12,8 @@ parameters:
     mailer_password:
     mailer_from_email: admin@example.org
     mailer_from_name: Admin Team
+    mailer_encryption: tls
+    mailer_auth_mode: login
 
     # packagist_host: example.org
     # router.request_context.host: '%packagist_host%'