Skip to content

Commit

Permalink
update from email
Browse files Browse the repository at this point in the history
  • Loading branch information
skandrigi committed Nov 29, 2024
1 parent 6400ac4 commit f424699
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hiss/user/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def send_html_email(self, template_name, context, subject):
"""Send an HTML email to the user."""
html_msg = render_to_string(template_name, context)
plain_msg = strip_tags(html_msg)
self.email_user(subject, plain_msg, "hello@tamuhack.com", html_message=html_msg)
self.email_user(subject, plain_msg, from_email=None, html_message=html_msg)


@receiver(post_save, sender=settings.AUTH_USER_MODEL)
Expand Down

0 comments on commit f424699

Please sign in to comment.