Commits

Anonymous committed 947f3f5

Fixed 'to' parameter when sending email

  • Participants
  • Parent commits 14331be

Comments (0)

Files changed (1)

registration/models.py

                                    ctx_dict)
 
         msg = EmailMultiAlternatives(subject, text_message,
-            settings.DEFAULT_FROM_EMAIL, self.user.email)
+            settings.DEFAULT_FROM_EMAIL, [self.user.email])
         msg.attach_alternative(html_message, "text/html")
         msg.send()