John E
John E

Reputation: 45

Need to extract attachments from Outlook (.msg) attachment via Lotus Notes

I have written an agent that extracts all attachments from all documents in a database and saves them to a local hard drive. However, many of those attachments are Outlook messages (.msg files) that also contain attachments (i.e., attachments within attachments). I need to extract those secondary attachments. My agent is written in LotusScript, but I am open to doing this in Java as well. Any suggestions would be appreciated.

Upvotes: 0

Views: 751

Answers (1)

Dmitry Streblechenko
Dmitry Streblechenko

Reputation: 66316

Save the attachment using Attachment.SaveAsFile, then open the MSG file using Namespace.OpenSharedItem.

Upvotes: 2

Related Questions