M
Mark Sandfox
The abjective is to allow the user to enter multiple lines of a material
list into an ASP form that will be emailed the the supplier. The user side
works fine, but the resulting email loses its EOL format in the email. Here
is a portion of the code where I think the problem is but I can not find any
documentation on how to solve this obviously simple task.
twTextWriter.RenderBeginTag("tr")
twTextWriter.RenderBeginTag("td width=""150""")
twTextWriter.WriteLine("Material List: ")
twTextWriter.RenderEndTag
twTextWriter.RenderBeginTag("td")
twTextWriter.Write(tbMaterialList.value)
twTextWriter.RenderEndTag
twTextWriter.RenderEndTag
twTextWriter.RenderEndTag
twTextWriter.RenderEndTag
twTextWriter.RenderEndTag
twTextWriter.RenderEndTag
objMailMessage = New MailMessage
objMailMessage.From = "(e-mail address removed)"
objMailMessage.To = Order@****.com
objMailMessage.Subject = "Order From Website"
objMailMessage.Body = swHtmlBody.ToString
objMailMessage.BodyFormat = MailFormat.HTML
Thank you in advance for your help.
Mark P Sandfox
list into an ASP form that will be emailed the the supplier. The user side
works fine, but the resulting email loses its EOL format in the email. Here
is a portion of the code where I think the problem is but I can not find any
documentation on how to solve this obviously simple task.
twTextWriter.RenderBeginTag("tr")
twTextWriter.RenderBeginTag("td width=""150""")
twTextWriter.WriteLine("Material List: ")
twTextWriter.RenderEndTag
twTextWriter.RenderBeginTag("td")
twTextWriter.Write(tbMaterialList.value)
twTextWriter.RenderEndTag
twTextWriter.RenderEndTag
twTextWriter.RenderEndTag
twTextWriter.RenderEndTag
twTextWriter.RenderEndTag
twTextWriter.RenderEndTag
objMailMessage = New MailMessage
objMailMessage.From = "(e-mail address removed)"
objMailMessage.To = Order@****.com
objMailMessage.Subject = "Order From Website"
objMailMessage.Body = swHtmlBody.ToString
objMailMessage.BodyFormat = MailFormat.HTML
Thank you in advance for your help.
Mark P Sandfox