ERPNext Foundation ERPNext Cloud Chat Blog Discuss Frappé* Donate

Convert Email Body into Attached PDF


#1

Hi,
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?


#2

Try a search like “pdf attach” to get you pointers like this


#3

I’ve tried but didn’t find any post related to the same case as mine, that’s why i created a new post.


#4

help??