View Single Post
  #7  
Old February 9th 10, 11:32 PM posted to microsoft.public.outlook.program_vba
MA[_2_]
external usenet poster
 
Posts: 47
Default 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
Ads