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.
Save the attachment using Attachment.SaveAsFile
, then open the MSG file using Namespace.OpenSharedItem
.