Django

Code

Ticket #7966: mail.py.diff

File mail.py.diff, 440 bytes (added by Zal, 5 months ago)

svn diff format

  • mail.py

    old new  
    174174 
    175175    def _send(self, email_message): 
    176176        """A helper method that does the actual sending.""" 
    177         if not email_message.to
     177        if not email_message.recipients()
    178178            return False 
    179179        try: 
    180180            self.connection.sendmail(email_message.from_email,