Get Folder Name while reading mails

Hello,

I have a notes client installed on my machine. I have written java code using the notes.jar to read mails. The requirement is that my client wants to get (read) all the mails from the mails database. Due to this even the “Sent” Folder mails are also being read. So now they want to also get the Folder Name against every mail read.

Now is there a way so that i can get the folder name (like “Sent”, Inbox" etc) against every mail i read using the notes.jar?

TIA

Regards,

Jay

Subject: Get Folder Name while reading mails

Have a look at the FolderReferences in the designer’s help.

You could also write some code to look through the sent folder and when the document is found there, skip it.