I am not able to get attachment from pdf file using coding .
Even i had faced this issue, can not fine any method to extract attachments from PDF files.
We have not found the solution for this and have dummped the complete idea.
Was Using JS API
What type of attachment?
(By that I mean how it was attached, not what type of file it is...)
You can save those files by using the exportDataObject method. For example:
Yes ,I know but problem is i am using node js
You should've indicated that you were trying to attach PDF attachments using js node code when you first posted this inquiry.
Maybe you'll need to review the nodemailer documentation and verify that the filenames of these PDFs include the complete directory path to those files.
See this discussion:
Are you able to share a sample document with the Attachment included, so that we can see the file you are working on?