Hi
I am reading a mail stored as eml in a file .I am reading it byte by byte.The code i am using is
byte[] bytes = File.ReadAllByt es(EmlPath);
String msg = System.Text.Enc oding.GetEncodi ng("utf-8").GetString(b ytes);
Here the EmlPath is the path of the eml.The issue is while reading the eml and storing it in a string i.e msg I am losing the formating.small boxes appear wherever there are spaces in the string.How do i resolve this issue.Please help me.Thanx in advance
Regards
Sanchaita sujit Chakraborty
I am reading a mail stored as eml in a file .I am reading it byte by byte.The code i am using is
byte[] bytes = File.ReadAllByt es(EmlPath);
String msg = System.Text.Enc oding.GetEncodi ng("utf-8").GetString(b ytes);
Here the EmlPath is the path of the eml.The issue is while reading the eml and storing it in a string i.e msg I am losing the formating.small boxes appear wherever there are spaces in the string.How do i resolve this issue.Please help me.Thanx in advance
Regards
Sanchaita sujit Chakraborty
Comment