(subject, message, message_html, from_email, recipient_list)
Sends an HTML email.
Sends an HTML email.
Sends an HTML email .
def send_html_mail(subject, message, message_html, from_email, recipient_list):
    """
    Sends an HTML email.
    """
    msg = EmailMultiAlternatives(subject, message, from_email, recipient_list)
    msg.attach_alternative(message_html, "text/html")
    msg.send(fail_silently=False)
def send_html_mail ( subject , message , message_html , from_email , recipient_list ) : msg = EmailMultiAlternatives ( subject , message , from_email , recipient_list ) msg . attach_alternative ( message_html , "text/html" ) msg . send ( fail_silently = False )