If i have a mail object and i want to add that mail object into my pst file.how can i add it by assigning property by property or directly i can add that mail object into my pst file.
Please reply soon
If i have a mail object and i want to add that mail object into my pst file.how can i add it by assigning property by property or directly i can add that mail object into my pst file.
Hi Pooja,
<span style=“font-size:
10.0pt;font-family:“Courier New”;color:teal;mso-no-proof:yes”>MailMessage<span style=“font-size:10.0pt;font-family:“Courier New”;mso-no-proof:yes”>
mailMessage = MailMessage.Load(“Source.msg”);<o:p></o:p>
MapiMessage mapi = MapiMessage.FromMailMessage(mailMessage);
PersonalStorage pst = PersonalStorage.FromFile("SourcePst.pst");
pst.GetPredefinedFolder(StandardIpmFolder.Inbox).AddMessage(mapi);
pst.Dispose();
Hi Pooja,
Hi Kashif,