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

FIX: add To mail header #1636

Closed
wants to merge 2 commits into from
Closed

Conversation

xnilsit
Copy link

@xnilsit xnilsit commented Nov 18, 2023

As described in #1603, this fixes the missing To header in email alerts that may cause spamfilters to block the email.

To was added to emailTemplate and Alert struct.
Some stuff needed to be moved within the for loop:
mailBuffer is reset in each loop iteration, so that the mail content is not duplicated.
alert.To is reassigned to the email address of the user and the template is re-executed with the new values.

@xnilsit xnilsit mentioned this pull request Nov 18, 2023
@tboerger
Copy link
Collaborator

I have used a different approach within #1788

@tboerger
Copy link
Collaborator

tboerger commented Mar 4, 2024

The PR #1788 have been merged, so this change is obsolete. Thanks for taking care of it.

@tboerger tboerger closed this Mar 4, 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

Successfully merging this pull request may close these issues.

2 participants