i'm trying to create a program that conver eml file into a single pst. i have write that command:
RDOSession session = new RDOSession();
RDOPstStore store = session.LogonPstStore(newpstpath);
RDOFolder folder = store.IPMRootFolder.Folders.Item(directoryEmlFile);
RDOMail mail = folder.Items.Add("IPM.Note");
but at the command "RDOMail mail = folder.Items.Add("IPM.Note")" the system give me the null exception. can anyone help me?