From efd97d9fdb6e1d4f63cdc92ef7b765c177b2da47 Mon Sep 17 00:00:00 2001 From: Jules Pietri Date: Mon, 11 Dec 2023 15:48:28 +0100 Subject: [PATCH] Fix comment about mailer config --- src/EventSubscriber/CommentNotificationSubscriber.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/EventSubscriber/CommentNotificationSubscriber.php b/src/EventSubscriber/CommentNotificationSubscriber.php index 18558c348..65a906f1f 100644 --- a/src/EventSubscriber/CommentNotificationSubscriber.php +++ b/src/EventSubscriber/CommentNotificationSubscriber.php @@ -76,8 +76,8 @@ public function onCommentCreated(CommentCreatedEvent $event): void ->html($body) ; - // In config/packages/dev/mailer.yaml the delivery of messages is disabled. - // That's why in the development environment you won't actually receive any email. + // In config/packages/mailer.yaml the delivery of messages is disabled in the development environment. + // That's why you won't actually receive any email. // However, you can inspect the contents of those unsent emails using the debug toolbar. $this->mailer->send($email); }