Page 1 of 1

Attachments and MSG Files

Posted: Thu Mar 09, 2023 9:33 pm
by random1
Hi there. Just wondering if there is anything in the code samples that shows how to display attachments in Outlook files.

If I create an email MSG file with an attachment, I can get them to load fine in the viewer, however the attachment doesn't show.

One of the pages mentioned the attachments are included when converted to PDF ? Just wondering if it handles the native MSG file ?

Re: Attachments and MSG Files

Posted: Fri Mar 31, 2023 3:25 pm
by Hugo
Hi there,

My apologies for the delayed response here.

You are correct in mentioning you can get .msg/.eml file attachments if you first convert this from EML/MSG to PDF. Then using our GdPicturePDF library, you can get embedded files within the newly converted PDF and the data will be included there.

If you wish to test this you can use our online converter here: https://www.gdpicture.com/formats-sdk/d ... converter/
This will allow you to convert ANY file type to PDF. From there you can open this in Adobe Acrobat Reader OR using a solution on your end using our code, you can get these embedded files.

Regards,
Hugo Cudd
Technical Support