Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use the e-mail address when sending mail from the email backend.

  • Loading branch information...
commit a48821fbbf44534c5daad70e0fc14289e121bae9 1 parent c6b9e68
@brosner brosner authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  notification/backends/email.py
View
2  notification/backends/email.py
@@ -55,4 +55,4 @@ def deliver(self, recipient, notice_type, extra_context):
"message": messages["full.txt"],
}, context)
- send_mail(subject, body, settings.DEFAULT_FROM_EMAIL, [recipient])
+ send_mail(subject, body, settings.DEFAULT_FROM_EMAIL, [recipient.email])
Please sign in to comment.
Something went wrong with that request. Please try again.