From caca07e5eab094f2b85b07b883610c4bf382273d Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Tue, 28 Feb 2017 13:21:59 -0800 Subject: [PATCH] added some missing env var for Swiftmailer --- .../symfony/swiftmailer-bundle/etc/packages/swiftmailer.yaml | 4 ++++ recipes/symfony/swiftmailer-bundle/manifest.json | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/recipes/symfony/swiftmailer-bundle/etc/packages/swiftmailer.yaml b/recipes/symfony/swiftmailer-bundle/etc/packages/swiftmailer.yaml index e3d560c1..b9dd8772 100644 --- a/recipes/symfony/swiftmailer-bundle/etc/packages/swiftmailer.yaml +++ b/recipes/symfony/swiftmailer-bundle/etc/packages/swiftmailer.yaml @@ -1,6 +1,10 @@ swiftmailer: + url: "%env(MAILER_URL)%" transport: "%env(MAILER_TRANSPORT)%" host: "%env(MAILER_HOST)%" + port: "%env(MAILER_PORT)%" + encryption: "%env(MAILER_ENCRYPTION)%" + auth_mode: "%env(MAILER_AUTH_MODE)%" username: "%env(MAILER_USER)%" password: "%env(MAILER_PASSWORD)%" spool: { type: "memory" } diff --git a/recipes/symfony/swiftmailer-bundle/manifest.json b/recipes/symfony/swiftmailer-bundle/manifest.json index ec199549..ec92ec58 100644 --- a/recipes/symfony/swiftmailer-bundle/manifest.json +++ b/recipes/symfony/swiftmailer-bundle/manifest.json @@ -6,8 +6,12 @@ "etc/": "%ETC_DIR%/" }, "env": { + "MAILER_URL": "", "MAILER_TRANSPORT": "smtp", "MAILER_HOST": "localhost", + "MAILER_PORT": "25", + "MAILER_ENCRYPTION": "", + "MAILER_AUTH_MODE": "", "MAILER_USERNAME": "", "MAILER_PASSWORD": "" }