Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Title: Wrong Email Sender for Test Notification in Learning Path - Email Sender Issue After Upgrade to Version 1.11.28 #5920

Open
Bavarianspirit opened this issue Nov 12, 2024 · 2 comments

Comments

@Bavarianspirit
Copy link

After recently upgrading our portal from version 1.11.16 to 1.11.28, we’ve noticed an issue with the notification emails sent to admins when a participant completes a test. Previously, these emails were sent from the portal's email address, but now they are sent from the participant's registered email address. The reply-to address, however, remains set to the portal’s email address.

This change has led to many of these emails being marked as spam. Is it possible to revert to the original configuration, or is there a new setting in the updated configuration files that might control this behavior? I checked the config files but couldn't locate any relevant option.

Registration emails and similar notifications are still sent correctly from the portal's address; the issue only affects completion notifications.

Example from version 1.11.16:

Subject: You have a new message from [Participant Name]
Date: 2024-10-18 21:11
From: "portal@example-portal.com" portal@example-portal.com
To: [Admin Name] admin@example.com
Reply-To: [Participant Name] participant@participant.com

Example from the new version:

From: [Participant Name] participant@participant.com
Sent: Tuesday, November 12, 2024 10:44
To: [Admin Name] admin@example.com
Subject: You have a new message from [Participant Name]
@Bavarianspirit
Copy link
Author

Can someone tell me in which PHP file the email generation for completed tests in the learning paths is done?

@Bavarianspirit
Copy link
Author

It seems that this commit introduces the issue:
50dfee4

It looks like:
'sender' => $senderUserIri,
should be:
'sender' => $admin,

@Bavarianspirit Bavarianspirit changed the title Title: Notification Email Sender Issue After Upgrade to Version 1.11.28 Title: Wrong Email Sender for Test Notification in Learning Path - Email Sender Issue After Upgrade to Version 1.11.28 Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant