Lotus notes get attachment names from document

后端 未结 2 1485

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

2条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-06 14:52

    An "attachment" can not only be of the type ATTACHMENT, but also EMBEDDEDOBJECT, ...

    Try to find all RichTextItems, get all the EmbeddedObjects from each of these items ( nrt.getEmbeddedObjects()) and then get the name of the embedded object (eo.getName()).

提交回复
热议问题