hi i use to generate attachment then send them with email with this function
def send_email_with_attachment(doctype, docname, recipients):
attachments = [frappe.attach_print(doctype=doctype, name=docname, print_letterhead=True)]
if attachments and recipients:
frappe.sendmail(recipients = recipients,
cc = recipients,
why do i loose my css and the images are big and every things i wrong … i works perfect in the website when i generate a pdf or print but the size and bootstrap doesn’t in email ?