|
Ive found out i need to use the CDONTS feature - ive implemented the following code but it returns a page not found error when i go to my confirmation asp page. Any help please?
<%
Set objCDOMail = Server.CreateObject("CDONTS.NewMail")
objCDOMail.To = "pworsnop@wickersley.net"
objCDOMail.From = "Staff@wickersley.net"
objCDOMail.Subject = FP_SavedFields("MyReason")
For Each item in FP_SavedFields
strBody = strBody & item & ": " & FP_SavedFields(item) & VbCrLf
Next
objCDOMail.Body = strBody
objCDOMail.BodyFormat = 1
objCDOMail.MailFormat = 1
objCDOMail.Send
Set objCDOMail = Nothing
%>
|