Django

Code

Changeset 8086

Show
Ignore:
Timestamp:
07/25/08 23:10:52 (4 months ago)
Author:
mtredinnick
Message:

Fixed #7966 -- Send email if it has "bcc" recipients and no "to" recipients.
Patch from Zal.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/core/mail.py

    r8083 r8086  
    176176    def _send(self, email_message): 
    177177        """A helper method that does the actual sending.""" 
    178         if not email_message.to
     178        if not email_message.recipients()
    179179            return False 
    180180        try: