zephn
February 1st, 2003, 02:06 PM
I have a script I downloaded from an ASP tutorial site. It had a "subject" box and a "body" input box.
I myself have need of 5 boxes in total and I need them displayed in the body of the email.
If Anyone out there who knows ASP can tell me by looking at this asp form belowwhat I must do to have all the input boxes displayed in the body of the email please let me know.
Dim strTo, strSubject, strBody, strWho, strWhen, strHowMany, strEmail, strPhone
Dim objCDOMail 'The CDO object
'#################################################
##############
strTo = "zephn@sympatico.ca"
strSubject = Request.Form("subject")
strBody = Request.Form("body")
strFrom=request.form("strwho")
strPhone=request.form("strPhone")
strDate=request.form("strwhen")
strPeople=request.form("strhowmany")
strBody=request.form("stremail")
Set objCDOMail = Server.CreateObject("CDONTS.NewMail")
'#################################################
##############
objCDOMail.From = "RSVPForm"
objCDOMail.To = strTo
objCDOMail.Subject = strSubject
objCDOMail.Body = strBody
objCDOMail.Send
Set objCDOMail = Nothing
I myself have need of 5 boxes in total and I need them displayed in the body of the email.
If Anyone out there who knows ASP can tell me by looking at this asp form belowwhat I must do to have all the input boxes displayed in the body of the email please let me know.
Dim strTo, strSubject, strBody, strWho, strWhen, strHowMany, strEmail, strPhone
Dim objCDOMail 'The CDO object
'#################################################
##############
strTo = "zephn@sympatico.ca"
strSubject = Request.Form("subject")
strBody = Request.Form("body")
strFrom=request.form("strwho")
strPhone=request.form("strPhone")
strDate=request.form("strwhen")
strPeople=request.form("strhowmany")
strBody=request.form("stremail")
Set objCDOMail = Server.CreateObject("CDONTS.NewMail")
'#################################################
##############
objCDOMail.From = "RSVPForm"
objCDOMail.To = strTo
objCDOMail.Subject = strSubject
objCDOMail.Body = strBody
objCDOMail.Send
Set objCDOMail = Nothing