I actually want to send directly my pdf in attachment but on passing it to print_html it is passing it as NULL . But on passing an html, it is converting it to pdf and sending. That is what I want to override. If not using that parameter (print_html) results into error.
Already tried attaching pdf directly but it is not getting attached .
Any help/suggestions will be deeply appreciated.
I am using external script for doing so, in which i need to mention the doctype and attachment existed there to fetch and then append it to the mail. Any documents / help for doing so will be appreciated. Also am having issue with finding the frappe module inside the framework (as on external script frappe module not found error came and i dont get external library named frappe too. Please suggest regarding that too)