Hi Kashif,
I have one problem that i want to add message into particullar folder in pst file..for that i write
following code.
plz check that is it right way to add msg into file.
mailmessage = MailMessage.Load(EmlPath);
mapimessage = MapiMessage.FromMailMessage(mailmessage);
ObjPersonalStorage = PersonalStorage.FromFile(p_pstFileName);
ObjPersonalStorage.GetFolderById(foldername).AddMessage(mapimessage);
ObjPersonalStorage.Dispose();
but here in exception is thrown that file is used by other process..but no other will used it..
please reply soon