changed the default mailer configuration

This commit is contained in:
Fabien Potencier
2017-08-24 04:53:43 -07:00
parent 57ea739e24
commit e466ea8ace
2 changed files with 4 additions and 5 deletions
@@ -1,6 +1,4 @@
# See https://symfony.com/doc/current/email/dev_environment.html
swiftmailer:
# disable the sending of email altogether
disable_delivery: true
# ... or send all email to a specific address
# send all emails to a specific address
#delivery_addresses: ['me@example.com']
+3 -2
View File
@@ -7,8 +7,9 @@
},
"env": {
"#1": "For Gmail as a transport, use: \"gmail://username:password@localhost\"",
"#2": "To disable sending emails, use: \"null://localhost\"",
"MAILER_URL": "smtp://localhost:25?encryption=&auth_mode="
"#2": "For a generic SMTP server, use: \"smtp://localhost:25?encryption=&auth_mode=\"",
"#3": "Delivery is disabled by default via \"null://localhost\"",
"MAILER_URL": "null://localhost"
},
"aliases": ["mailer", "mail"]
}