troubleshooting Question

why is my mail displaying in html format. I am sending mail to webmail using - strTextBody

Avatar of westdh
westdhFlag for United States of America asked on
Web DevelopmentASPHTML
6 Comments1 Solution482 ViewsLast Modified:
why is my email displaying the html markup and not displaying the text when...I am using a
procform.asp  to send the text.

strTextBody  = "Wholesale Sales Order Form<hr><table width='740' border='0' cellspacing='0' cellpadding='3'><tr><td colspan='2' width ='390px'>Date: " & request.Form("orderDate") & "</td><td colspan='2' width ='390px'>Order No: " & request.Form("orderNumber") & "</td></tr><br><tr><td colspan='2' width ='390px'>Bill To: </td><td colspan='2' width ='390px'>Ship To: </td></tr><br><tr><td colspan='2' width ='390px'>Name: " & request.Form("billName") & "</td><td colspan='2' width ='390px'>Name: " & request.Form("shipName") & "</td></tr><br><tr><td colspan='2' width ='390px'>Address1: " & request.Form("billAddr1") & "</td><td colspan='2' width ='390px'>Address1: " & request.Form("shipAddr1") & "</td></tr><br><tr><td colspan='2' width ='390px'>Address2: " & request.Form("billAddr2") & "</td><td colspan='2' width ='390px'>Address2: " & request.Form("shipAddr2") & "</td></tr><br><tr><td colspan='2' width ='390px'>City: " & request.Form("billCity") & "</td><td colspan='2' width ='390px'>City: " & request.Form("shipCity") & "</td></tr>"
Join our community to see this answer!
Unlock 1 Answer and 6 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros