bumped Swiftmailer to use the new MAILER_TRANSPORT env var

This commit is contained in:
Fabien Potencier
2017-02-28 13:06:52 -08:00
parent b56693f9e0
commit 25b1328f01
3 changed files with 5 additions and 4 deletions
+2 -2
View File
@@ -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],
@@ -1,5 +1,5 @@
swiftmailer:
transport: sendmail
transport: "%env(MAILER_TRANSPORT)%"
host: "%env(MAILER_HOST)%"
username: "%env(MAILER_USER)%"
password: "%env(MAILER_PASSWORD)%"
@@ -6,7 +6,8 @@
"etc/": "%ETC_DIR%/"
},
"env": {
"MAILER_HOST": "",
"MAILER_TRANSPORT": "smtp",
"MAILER_HOST": "localhost",
"MAILER_USERNAME": "",
"MAILER_PASSWORD": ""
}