I am newbie to ASP reading Beginning ASP 3.0 Recently I have written a code for CDOSYS form for ASP and was terribly confused in the ObjMessage.Body statement, althought somehow i got the below code working, But When I received the mail after filing the form it was all fields together I cannot make out which field resembles what field. I cannot understand How to format the textbody message so I can view all fields in the email message seperate. Plz Help?
objMessage.Textbody = Request.Form ("varFirst_Name:") & Request.Form ("varLast_Name") & Request.Form ("varJob_Title") & Request.Form ("varCompany_Name") & Request.Form ("varMail_Line1") & Request.Form ("varMail_Line2") & Request.Form ("varMail_Line3") & Request.Form ("varCity") & Request.Form ("varState") & Request.Form ("varArea_Zip") & Request.Form ("varCountry") & Request.Form ("varCountry_code_tel") & Request.Form ("vararea_code_tel") & Request.Form ("varTel_number") & Request.Form ("varCountry_code_Fax") & Request.Form ("varArea_code_Fax") & Request.Form ("varNum_Fax") & Request.Form ("varEmail") & Request.Form ("varComments")
----------------------------------------------------------------------
Result from the above coding is
[email protected]lskjfsdlfsd
fsd
fsd
Kind Regards,
Prince Mirza