

def add_pdf_attachment(self, name, html, options=None):
    self.add_attachment(name, get_pdf(html, options), 'application/octet-stream')

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