We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Retrieve item from PST by item ID

Hi,
I’m when I’m adding items to PST by FolderInfo.addMapiMessageItem, it returns id of the added item.
Can I then somehow get this item from PST using this id ?

Thanks

@slavago,

Yes, you can get the item using this Entry Id with following statement:

pst.extractMessage(entryId);

You can have a look at the API reference guide for this purpose.