Skip to content

Commit 0b4293b

Browse files
authored
Merge pull request #539 from internetstandards/44
support reply to in backoffice mail for an easier process
2 parents 611968e + 251a67e commit 0b4293b

File tree

1 file changed

+2
-1
lines changed
  • dashboard/internet_nl_dashboard/views

1 file changed

+2
-1
lines changed

dashboard/internet_nl_dashboard/views/signup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ def send_backoffice_mail_async(form_data):
6262
<br>
6363
Signup details:<br>
6464
<pre>{json_content}</pre><br>
65-
<br>
6665
Kind regards,<br>
6766
The Dashboard Team<br>
6867
<br>
@@ -73,6 +72,8 @@ def send_backoffice_mail_async(form_data):
7372
sender=config.EMAIL_NOTIFICATION_SENDER,
7473
recipients=email_addresses,
7574
subject=email_subject,
75+
# how to set the reply to: https://github.com/Bearle/django_mail_admin/blob/master/docs/usage.rst#L148
76+
headers={'Reply-to': form_data.get('email', config.EMAIL_NOTIFICATION_SENDER)},
7677
message=email_content.replace("<br>", ""),
7778
priority=models.PRIORITY.now,
7879
html_message=email_content,

0 commit comments

Comments
 (0)