Browse files

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

  • Loading branch information...
1 parent c6b9e68 commit a48821fbbf44534c5daad70e0fc14289e121bae9 @brosner brosner committed Apr 19, 2009
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])

0 comments on commit a48821f

Please sign in to comment.