From 2a2fe4bae448556ca9b8f863325c4dbd06c07a38 Mon Sep 17 00:00:00 2001 From: Peter Alexandre Date: Mon, 3 Aug 2026 23:09:34 +0200 Subject: [PATCH 1/2] fix: use noreply@ as From address for forum and group notifications --- src/Command/SendNotificationsCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Command/SendNotificationsCommand.php b/src/Command/SendNotificationsCommand.php index 7fecae0491..021d25992c 100644 --- a/src/Command/SendNotificationsCommand.php +++ b/src/Command/SendNotificationsCommand.php @@ -123,9 +123,9 @@ private function determineSender(ForumPost $post): Address { $thread = $post->getThread(); if ($thread->getGroup()) { - $from = new Address('group@bewelcome.org', 'BeWelcome - ' . $post->getAuthor()->getUsername()); + $from = new Address('noreply@bewelcome.org', 'BeWelcome - ' . $post->getAuthor()->getUsername()); } else { - $from = new Address('forum@bewelcome.org', 'BeWelcome - ' . $post->getAuthor()->getUsername()); + $from = new Address('noreply@bewelcome.org', 'BeWelcome - ' . $post->getAuthor()->getUsername()); } return $from; From 83f88ef6bec7b0f2ac8f9d10ee4865cd443589d1 Mon Sep 17 00:00:00 2001 From: Peter Alexandre Date: Mon, 3 Aug 2026 23:16:25 +0200 Subject: [PATCH 2/2] fix: point MESSAGE and GROUP email constants to noreply@ --- src/Service/Mailer.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Service/Mailer.php b/src/Service/Mailer.php index ce9fbcba6d..9dc432af9f 100644 --- a/src/Service/Mailer.php +++ b/src/Service/Mailer.php @@ -23,8 +23,9 @@ class Mailer { private const NO_REPLY_EMAIL_ADDRESS = 'noreply@bewelcome.org'; - private const MESSAGE_EMAIL_ADDRESS = 'message@bewelcome.org'; - private const GROUP_EMAIL_ADDRESS = 'group@bewelcome.org'; + private const MESSAGE_EMAIL_ADDRESS = 'noreply@bewelcome.org'; + private const GROUP_EMAIL_ADDRESS = 'noreply@bewelcome.org'; + private const FORUM_EMAIL_ADDRESS = 'noreply@bewelcome.org'; private const PASSWORD_EMAIL_ADDRESS = 'password@bewelcome.org'; private const SIGNUP_EMAIL_ADDRESS = 'signup@bewelcome.org'; private const ACCOUNT_FEEDBACK_ADDRESS = 'account@bewelcome.org';