Problem with EML feature

Recently i purchased Aspose Email for .net and it's not converting complete emails (EML) format from OST and PST file format and EML showing not containing all items of email, can you please help me to resolve it..

please check this code and help me

private void SaveContactInEMLFiles(FolderInfo folderInfo, PersonalStorage pst, string path)
{

// loop through all the messages in this folder
if (folderInfo.DisplayName.Equals(Program.SelectedFolder, StringComparison.OrdinalIgnoreCase) == true)
{
MessageInfoCollection messageInfoCollection = folderInfo.GetContents();

foreach (MessageInfo messageInfo in messageInfoCollection)
{


// get the message in MapiMessage instance
MapiMessage message = pst.ExtractMessage(messageInfo);
// save this message to disk in msg format
try
{
message.Save(path + message.Subject.Replace(":", " ") + ".eml");
}
catch { };

}
}
// call this method recursively for each subfolder
if (folderInfo.HasSubFolders == true)
{
foreach (FolderInfo subfolderInfo in folderInfo.GetSubFolders())
{
SaveContactInEMLFiles(subfolderInfo, pst, path);
}
}
}
#endregion

Hi Mark,


Thank you for sharing your concern with support team.

Could you please share the exact nature of the problem whether the emails contents are corrupted or there is some other issue you are facing? Also, please share some sample file input file with us that we can use to reproduce the issue at our end and assist you further.