diff --git a/packs.json b/packs.json index c0420d0e..7026c5ed 100644 --- a/packs.json +++ b/packs.json @@ -37,7 +37,7 @@ ["symfony/yaml", "^3.2", false] ], "mailer": [ - ["symfony/swiftmailer-bundle", "^2.4", false] + ["symfony/swiftmailer-bundle", "^2.5", false] ], "profiler": [ ["symfony/web-profiler-bundle", "^3.2", false] @@ -75,7 +75,7 @@ ["doctrine/orm", "^2.5", false], ["doctrine/doctrine-bundle", "^1.6", false], ["doctrine/doctrine-cache-bundle", "^1.2", false], - ["symfony/swiftmailer-bundle", "^2.3", false], + ["symfony/swiftmailer-bundle", "^2.5", false], ["symfony/monolog-bundle", "^3.0", false], ["symfony/polyfill-apcu", "^1.0", false], ["sensio/distribution-bundle", "^5.0", false], diff --git a/recipes/symfony/swiftmailer-bundle/etc/packages/swiftmailer.yaml b/recipes/symfony/swiftmailer-bundle/etc/packages/swiftmailer.yaml index 68c05ab4..e3d560c1 100644 --- a/recipes/symfony/swiftmailer-bundle/etc/packages/swiftmailer.yaml +++ b/recipes/symfony/swiftmailer-bundle/etc/packages/swiftmailer.yaml @@ -1,5 +1,5 @@ swiftmailer: - transport: sendmail + transport: "%env(MAILER_TRANSPORT)%" host: "%env(MAILER_HOST)%" username: "%env(MAILER_USER)%" password: "%env(MAILER_PASSWORD)%" diff --git a/recipes/symfony/swiftmailer-bundle/manifest.json b/recipes/symfony/swiftmailer-bundle/manifest.json index 105602e6..ec199549 100644 --- a/recipes/symfony/swiftmailer-bundle/manifest.json +++ b/recipes/symfony/swiftmailer-bundle/manifest.json @@ -6,7 +6,8 @@ "etc/": "%ETC_DIR%/" }, "env": { - "MAILER_HOST": "", + "MAILER_TRANSPORT": "smtp", + "MAILER_HOST": "localhost", "MAILER_USERNAME": "", "MAILER_PASSWORD": "" }