Right now my client gets a huge list of all the fields in the forms with most of them blank and a few with numbers denoting how many items a customer wants to order.
The main problem is that I'm not technically a programmer--I'm trying really hard to learn on my own, and it's difficult.
Here's the code from my "form action" page--Please be aware that to protect my client's privacy, I've replace all instances of his name and email address/domain name with "email@example.com", etc.
<% Set Mailer = Server.CreateObject("SMTPsvg.Mailer") Mailer.FromName = "Order" Mailer.FromAddress= "firstname.lastname@example.org" Mailer.RemoteHost = "mail.domain.com" Mailer.AddRecipient "ClientName", "email@example.com" Mailer.Subject = "Order" strMsgHeader = "Form Information Follows: " & vbCrLf for i = 1 to Request.Form.Count strMsgInfo = strMsgInfo & Request.Form.Key(i) & " - " & Request.Form.Item(i) & vbCrLf next strMsgFooter = vbCrLf & "End of form information" Mailer.BodyText = strMsgHeader & strMsgInfo & strMsgFooter if Mailer.SendMail then Response.Write "Thank you for using our online ordering system. You will be sent an invoice via email which you may pay online." else Response.Write "Mail send failure. Error was " & Mailer.Response end if set Mailer = Nothing %>
Any help anyone could provide would be greatly appreciated.