Thanks a lot giving me reply but i am talking about specifically body part in mail i had used
1.
mailMessage.Bod y = "text1 : " + txtBody.Text + "\n";
mailMessage.Bod y += "text2 : " + TextBox1.Text;
2.
mailMessage.Bod y = "text1 : " + txtBody.Text + "\r\n";
mailMessage.Bod y += "text2 : " + TextBox1.Text;
3.
mailMessage.Bod y...
User Profile
Collapse
-
How to format the body of outgoing emails in C#?
mailMessage.Bod y = "text1 : " + txtBody.Text;
mailMessage.Bod y += "text2 : " + TextBox1.Text;
out put:
>text1 xyz text2 xyz
I want to seperete these two lines in mail which i got
as
>text1 : xyz
>text2 : xyz
please reply me how to do it......
No activity results to display
Show More
Leave a comment: