Hi All,
I have created a webform called composemail.aspx and I have placed textarea control on this webform.
There is a send button for sending the email. Now I have composed the body of the email with tabs. Now after I receive
the email the format in which I composed the email is not same. All the text comes in a single line. How can I resolve this. I am
using VS.Net Beta 2.
The following is the code I have used
Dim g_objMail As New SmtpMail()
Dim g_objMailFormat As New MailMessage()
g_objMailFormat.From = txtFrom.Text
g_objMailFormat.To = txtTo.Text
g_objMailFormat.Body = txtBody.Text
g_objMailFormat.Subject = txtSubject.Text
g_objMailFormat.BodyFormat = MailFormat.Html
g_objMailFormat.Priority = MailPriority.Normal
g_objMail.Send(g_objMailFormat)
g_objMail = Nothing
g_objMailFormat = Nothing
Now the problem is that the value txtBody.Text comes in the same line for the receipent who receives the email.
Regards,
Sriram Mallajyosula