I am accessing lotus notes using DIIOP. I am trying to find the folder in which a email is present. I have Unid of the email to find the folder.
Enabling folder references is not an option for me, because I will be working on a production system which is running for years.
Is there any way I can find a the folder unid/name in which a mail is present using DIIOP?
@Torsten's answer is correct, but it would really be ridiculously inefficient to do it for a lot of documents, one document at a time - and especially over IIOP.
If you're doing it for lots of documents, I would add them all to a NotesNoteCollection object. Then for each folder I would build another NotesNoteCollection object and use the Intersect method to find all the documents in common to both collections, then move to the next folder, etc.