Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
Read HTML Embedded .eml files in C#
prashant vishnoi
Jan 13 2017 4:24 AM
523
Reply
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.
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
Pdf file display flipbook formate
How to configure the multiple sitemaps in one website-menu