I am trying to add pdf from static resources to my Visual force email template attachment tag. VF email template which will be used by a workflow.I was able to render a image file from static resource as pdf, but how do I get an existing pdf as pdf attachment in email template.
apex:page tag are not vaild in email template.
Also I tried reading he pdf body in a controller but it is not in readable format.
Please let me know how do I attach the pdf from static resources in visual force email template
Best Answer
Here is a working solution. First I read the static resource PDF in a blob and attached that blob with the email. I hope this will help.