This form is read by OES_regreply.asp which takes the information and does 2 things with it
1. displays the information to the user so they can verify
2. sends an email with the information from the form for my records.
my problem lies with the email. Everything is working except that I can't get the body of the email to send the data that it pulls from the form (1 of the textboxes, and both checkboxes)
Code is below:
Expand|Select|Wrap|Line Numbers
- <%
- Set myMail=CreateObject("CDO.Message")
- myMail.Subject="NEW Office Equipment Smash Registration"
- myMail.From=request.form("email")
- myMail.To="JoeJr@BuffaloPrinting.com"
- myMail.TextBody=response.write(request.form("name")& " ")"has registered for the Office Equipment Smash! fundraiser event. They registered for the"response.write(" " & request.form("reg") & " ")"event(s)."
- myMail.Send
- set myMail=nothing
- %>