Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #7966 -- Send email if it has "bcc" recipients and no "to" reci…

…pients.

Patch from Zal.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8086 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 319a31464d5d60dad11cab804fd9d9c709e4c0bb 1 parent fe240b1
@malcolmt malcolmt authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/core/mail.py
View
2  django/core/mail.py
@@ -175,7 +175,7 @@ def send_messages(self, email_messages):
def _send(self, email_message):
"""A helper method that does the actual sending."""
- if not email_message.to:
+ if not email_message.recipients():
return False
try:
self.connection.sendmail(email_message.from_email,
Please sign in to comment.
Something went wrong with that request. Please try again.