Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
Malcolm Tredinnick authored July 26, 2008

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/core/mail.py
2  django/core/mail.py
@@ -175,7 +175,7 @@ def send_messages(self, email_messages):
175 175
 
176 176
     def _send(self, email_message):
177 177
         """A helper method that does the actual sending."""
178  
-        if not email_message.to:
  178
+        if not email_message.recipients():
179 179
             return False
180 180
         try:
181 181
             self.connection.sendmail(email_message.from_email,

0 notes on commit 319a314

Please sign in to comment.
Something went wrong with that request. Please try again.