Skip to content

Commit

Permalink
Fix comment about mailer config
Browse files Browse the repository at this point in the history
  • Loading branch information
HeahDude committed Dec 11, 2023
1 parent b0c6921 commit efd97d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/EventSubscriber/CommentNotificationSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit efd97d9

Please sign in to comment.