We help IT Professionals succeed at work.
Get Started

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

westdh asked
Last Modified: 2013-11-19
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>"
Watch Question
Expert of the Year 2014
Top Expert 2014
This problem has been solved!
Unlock 1 Answer and 6 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE