From 1c324b44f3705739a7e6f44f9c715f51a312e9e5 Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Fri, 28 Jul 2017 10:47:51 +0200 Subject: [PATCH] Update the SwiftMailer recipe for dev environment --- .../2.5/config/packages/dev/swiftmailer.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 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 31fab6c6..aae8bf90 100644 --- a/symfony/swiftmailer-bundle/2.5/config/packages/dev/swiftmailer.yaml +++ b/symfony/swiftmailer-bundle/2.5/config/packages/dev/swiftmailer.yaml @@ -1,2 +1,6 @@ -#swiftmailer: - #delivery_address: me@example.com +# 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 + #delivery_addresses: ['me@example.com']