I am using following code to read .eml files from specific folder :
msg = new CDO.MessageClass();
ADODB.Stream stream = new ADODB.StreamClass();
stream.Open(Type.Missing, ADODB.ConnectModeEnum.adModeUnknown, ADODB.StreamOpenOptionsEnum.adOpenStreamUnspecified, String.Empty, String.Empty);
stream.LoadFromFile(emlFileName);
stream.Flush();
msg.DataSource.OpenObject(stream, "_Stream");
msg.DataSource.Save();
Its working fine for normal emails. But if HTML is embedded in email then it is giving "[Text Box: value ]" in the message body for the values that is entered in textbox.
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Khaja MoizuddinRank #270 · 9.4K reputationPosted Jan 17, 2017, 6:45 AM EST