Skip to content

Commit

Permalink
Set Reply-To header to original recipients
Browse files Browse the repository at this point in the history
The email sent from the system is normally used as a thread. Currently you have to either select the emails manually or hit reply all and remove the sender email.
  • Loading branch information
norbye committed May 28, 2024
1 parent 74edb07 commit 588a534
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/mail.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ def send_mail(mail_to, body, file):
msg["From"] = mail_from
msg["To"] = COMMASPACE.join(mail_to)
msg["Date"] = formatdate(localtime=True)
msg["Reply-To"] = COMMASPACE.join(mail_to)

create_mail(msg, body)

Expand Down

0 comments on commit 588a534

Please sign in to comment.