 |
HTML Help Please Search for the answer to your question before asking it! Thanks.
|
| View previous topic :: View next topic |
| Author |
Message |
|
Corey Bryant
Joined: 15 May 2004
Posts: 8428
Location: Castle Pines North, 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 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 |
|
|
| |
|
|
|
Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.19 © 2001, 2002 phpBB Group
|