I\'m developing an Lotus Notes plug-in for Notes 8.5.2 that saves the attachments from an eMail to the Harddisk. But when I try to read the attachment names from a Notes doc
Something to be aware of. MIME attachments are not always recognized as document attachments. So while you can see it in the notes client, you will not be able to programmatically access it.
The following tech note details it more and how to resolve it.
http://www-01.ibm.com/support/docview.wss?rs=463&&uid=swg21219985
An "attachment" can not only be of the type ATTACHMENT
, but also EMBEDDEDOBJECT
, ...
Try to find all RichTextItems, get all the EmbeddedObject
s from each of these items ( nrt.getEmbeddedObjects()
) and then get the name of the embedded object (eo.getName()
).