Syntax for adding attachment to frappeclient method

I am having issue in adding attachment to an external script with method

frappe.core.doctype.communication.email.make

i tried attachments,has_attachment along with the file as “http://myurl”+attachment_file , attachment_file but none of them worked

1 Like