We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 611968e + 251a67e commit 0b4293bCopy full SHA for 0b4293b
dashboard/internet_nl_dashboard/views/signup.py
@@ -62,7 +62,6 @@ def send_backoffice_mail_async(form_data):
62
<br>
63
Signup details:<br>
64
<pre>{json_content}</pre><br>
65
-<br>
66
Kind regards,<br>
67
The Dashboard Team<br>
68
@@ -73,6 +72,8 @@ def send_backoffice_mail_async(form_data):
73
72
sender=config.EMAIL_NOTIFICATION_SENDER,
74
recipients=email_addresses,
75
subject=email_subject,
+ # 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)},
77
message=email_content.replace("<br>", ""),
78
priority=models.PRIORITY.now,
79
html_message=email_content,
0 commit comments