Joined: 15 May 2004 Posts: 8199 Location: Castle Rock CO USA
Posted: Thu Mar 22, 2007 6:40 am Form Processing
To process a form, you need some type of server side language to help you out.
ASP has a few components like JMail, ASPEmail, ASPMail, CDOSYS / CDONTS.
An example of CDOSYS:
Code:
<%
" Create the e-mail server object
Set objCDOSYSMail = Server.CreateObject("CDO.Message")
Set objCDOSYSCon = Server.CreateObject ("CDO.Configuration")
" Outgoing SMTP server
objCDOSYSCon.Fields("http://schemas.microsoft.com/cdo/con...ion/smtpserver") = "localhost"
objCDOSYSCon.Fields("http://schemas.microsoft.com/cdo/con...smtpserverport") = 25
objCDOSYSCon.Fields("http://schemas.microsoft.com/cdo/con...tion/sendusing") = 2
objCDOSYSCon.Fields("http://schemas.microsoft.com/cdo/con...nectiontimeout") = 60
objCDOSYSCon.Fields.Update
" Update the CDOSYS Configuration
Set objCDOSYSMail.Configuration = objCDOSYSCon
objCDOSYSMail.From = "fromatexample.com"
objCDOSYSMail.To = "recipientatexample.com"
objCDOSYSMail.Subject = "This is my subject for my test message"
objCDOSYSMail.HTMLBody = "This is the body "
objCDOSYSMail.Send
"Close the server mail object
Set objCDOSYSMail = Nothing
Set objCDOSYSCon = Nothing
%>
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum