Ticket #11928: email-recipients-tuple-fix-1.2-beta-SVN-12755.diff

File email-recipients-tuple-fix-1.2-beta-SVN-12755.diff, 515 bytes (added by Ben Davis, 15 years ago)

Updated for 1.2-beta

  • django/core/mail/message.py

     
    162162        Returns a list of all recipients of the email (includes direct
    163163        addressees as well as Bcc entries).
    164164        """
    165         return self.to + self.bcc
     165        return list(self.to) + list(self.bcc)
    166166
    167167    def send(self, fail_silently=False):
    168168        """Sends the email message."""
Back to Top