Ticket #7966: mail.py.diff

File mail.py.diff, 440 bytes (added by Zal, 16 years ago)

svn diff format

  • mail.py

     
    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,
Back to Top