

def set_part_html(self, message):
    from email.mime.text import MIMEText
    part = MIMEText(message, 'html', 'utf-8')
    self.msg_multipart.attach(part)

dataset/ETHPy150Open frappe/frappe/frappe/email/email_body.py EMail.set_part_html/original