Skip to content

Commit

Permalink
Use the e-mail address when sending mail from the email backend.
Browse files Browse the repository at this point in the history
  • Loading branch information
brosner committed Apr 19, 2009
1 parent c6b9e68 commit a48821f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notification/backends/email.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.