HTML Tutorial


 /help/HTML Help Forum   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
Form Processing
Post new topic   Reply to topic    HTML Help Forum -> Member Tutorials
View previous topic :: View next topic  
Author Message
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8748
Location: Castle Pines North, CO USA

PostPosted: Thu Mar 22, 2007 6:40 am     Form Processing Reply with quote

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 can also check out How to use the Cdosys.dll library to embed a message in a new message by using Visual C#. Check with your hosting company to see what they might support. Most hosting companies will offer the code as well to help you show how to process the form. For ASPEmail, check out ASP Mail Manual.

For PHP, check out dB Masters FormMatiler to see how they do it.

If you need a third party to process the form check out EmailMe Form.

There is also Email Forms Service by Bravenet.

_________________
Corey
Toll Free Numbers | Merchant Accounts
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum -> Member Tutorials All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
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
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
DARFUR
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial