mirror of
https://github.com/symfony/recipes.git
synced 2026-09-12 15:46:37 +03:00
changed the default mailer configuration
This commit is contained in:
@@ -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']
|
||||
|
||||
@@ -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"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user