Ticket #7966: 7966.patch

File 7966.patch, 476 bytes (added by Collin Grady, 16 years ago)
  • django/core/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