Skip to content
Advertisement

Tag: pdfstamper

Add multiple attachments in a pdf using itext pdf stamper

I want to add multiple attachments to a pdf file. When I go into the loop it only attaches the last attachment. sample code Answer You have adapted the existing example AddEmbeddedFile to add more than one attachment, and you claim that only one attachment is added. I can not reproduce this. I have also adapted the existing example by

Advertisement