We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Query for pst attachment


if i have eml object that contain inline images,attachment,embedded images and having html or rtf or plain body then using of following code

if (!String.IsNullOrEmpty(f_tmpEmlPath))
MailMessage mailmessage = MailMessage.Load(f_tmpEmlPath);
MapiMessage mapimessage = MapiMessage.FromMailMessage(mailmessage);
m_ObjPersonalStorage = PersonalStorage.FromFile(p_pstFileName);
so, it will be export to pst same as my eml object?
please reply soon.

Hi Pooja,

Since the MapiMessage is created from the EML MailMessage, it shouldn’t pose any problem adding it to the PST. All the contents of the EML will be retained in the MapiMessage and, hence, in the PST as well.