[thelist] ASP and form question

Sharon F. Malone sfmalo at 24caratdesign.com
Mon Jul 8 04:17:00 CDT 2002


Joel -

I switched back to the other script as follows:

<%
Dim objMail
set objMail = Server.CreateObject("CDONTS.NewMail")
objMail.From = "webmaster at 24caratdesign.com"
objMail.Subject = "Web Site Form Request"
objMail.To = "The Chocolate Factory<sfmalo at 24caratdesign.com>"
objMail.BCC = "cheftrain at yahoo.com"
objMail.Body  = "Sent by: " & Request.Form("fullname") & vbCrlf & vbCrlf_
objMail.Body = Request.Form("address") & vbCrlf & vbCrlf_
objMail.Body = Request.Form("city") & vbCrlf & vbCrlf_
objMail.Body = Request.Form("state") & vbCrlf & vbCrlf_
objMail.Body = Request.Form("zip") & vbCrlf & vbCrlf_
objMail.Body = Request.Form("home phone") & vbCrlf & vbCrlf_
objMail.Body = Request.Form("work phone") & vbCrlf & vbCrlf_
objMail.Body = Request.Form("fax") & vbCrlf & vbCrlf_
objMail.Body = Request.Form("email") & vbCrlf & vbCrlf_
objMail.Body = Request.Form("Best Sellers") & vbCrlf & vbCrlf_
objMail.Body = Request.Form("Specialty Gifts") & vbCrlf & vbCrlf_
objMail.Body = Request.Form("Seasonal Selections") & vbCrlf & vbCrlf_
objMail.Body = Request.Form("Corporate Gifts") & vbCrlf & vbCrlf_
objMail.Body = Request.Form("Party Favors") & vbCrlf & vbCrlf_
objMail.Body = Request.Form("Other Items") & vbCrlf & vbCrlf_
objMail.Body = Request.Form("Comments")
objMail.Send
set objMail = nothing

Response.Redirect("http://www.chefsteve.com/chocfoundry/html/confirm.html")
%>

I receive the email (with no syntax errors) but still am getting a blank Body. Now I'm not even getting the "Sent by:"

Sharon
---------------------------------------------------------------------------
Sharon F. Malone
"web design and Internet writing services"
http://www.24caratdesign.com
sfmalo at 24caratdesign.com




More information about the thelist mailing list