We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4bdc3d commit 9c8ed6dCopy full SHA for 9c8ed6d
config/packages/dev/swiftmailer.yaml
@@ -1,2 +1,2 @@
1
-#swiftmailer:
2
- #delivery_address: [email protected]
+swiftmailer:
+ disable_delivery: true
src/EventSubscriber/CommentNotificationSubscriber.php
@@ -72,7 +72,7 @@ public function onCommentCreated(GenericEvent $event): void
72
->setBody($body, 'text/html')
73
;
74
75
- // In app/config/config_dev.yml the 'disable_delivery' option is set to 'true'.
+ // In config/packages/dev/swiftmailer.yaml the 'disable_delivery' option is set to 'true'.
76
// That's why in the development environment you won't actually receive any email.
77
// However, you can inspect the contents of those unsent emails using the debug toolbar.
78
// See https://symfony.com/doc/current/email/dev_environment.html#viewing-from-the-web-debug-toolbar
0 commit comments