From e466ea8ace6381c1aaaa0a76906317f6cfd09bee Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Thu, 24 Aug 2017 04:53:33 -0700 Subject: [PATCH] changed the default mailer configuration --- .../2.5/config/packages/dev/swiftmailer.yaml | 4 +--- symfony/swiftmailer-bundle/2.5/manifest.json | 5 +++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/symfony/swiftmailer-bundle/2.5/config/packages/dev/swiftmailer.yaml b/symfony/swiftmailer-bundle/2.5/config/packages/dev/swiftmailer.yaml index aae8bf90..5c36456a 100644 --- a/symfony/swiftmailer-bundle/2.5/config/packages/dev/swiftmailer.yaml +++ b/symfony/swiftmailer-bundle/2.5/config/packages/dev/swiftmailer.yaml @@ -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'] diff --git a/symfony/swiftmailer-bundle/2.5/manifest.json b/symfony/swiftmailer-bundle/2.5/manifest.json index 994203a2..0dc85679 100644 --- a/symfony/swiftmailer-bundle/2.5/manifest.json +++ b/symfony/swiftmailer-bundle/2.5/manifest.json @@ -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"] }