I am sending emails using frappe.sendmail) function form back end,
in sendmail’s message parameter i am giving html code to generate email body, like frappe.sendmail( message = “
Demo”, it is about 200+ lines of html code,
What i want is to instead of sending the html format in email body, it should convert in PDF format through html, and in email it should send as an attachment,
Can anybody please help me in this case?