Skip to content

Commit 1923ea0

Browse files
committed
Add X-Auto-Response-Suppress to password reset email
1 parent 085278b commit 1923ea0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

plain-passwords/plain/passwords/forms.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ def send_mail(
2626
context=context,
2727
from_email=from_email,
2828
to=[to_email],
29+
headers={
30+
"X-Auto-Response-Suppress": "All",
31+
},
2932
)
3033

3134
email.send()

0 commit comments

Comments
 (0)