Importer skips folders and messages
Thanks Ken and Dmitry for your response.
How exactly do you construct teh folder path?
I use MAPIFolder.FullFolderPath property:
rdoSession.GetFolderFromPath(olFolder.FullFolderPa th)
You are spot on Dmitry about the flag in GetFolderFromID() method.
After using the Missing.Value flag, I can create messages in that
folder. I think Redemption docs need be bit clear about the flag.
RDOFolder rdofolder = rdoSession.GetFolderFromID(olFolder.EntryID,
olFolder.StoreID, System.Reflection.Missing.Value);
Thanks heaps guys for your valuable response.
Cheers,
MA
|