| CDONTS | CDONTS Email Component Script by ASP Web Pro |
|
ASP ScriptsCDONTSOne of the most common ways to send form data is with the CDONTS email component. In this script, we will use CDONTS to send data from a basic text box and a textarea box. The first thing you need to do is create a formpage.asp page with the code below:
Next, we create a confirmation.asp page with our CDONTS code as seen below:
Now you have a complete form that sends data to an email address and displays a customized message for your user. The default format for CDONTS is to send plain text messages. If you want to send HTML messages with CDONTS, you can simply include these two extra lines of code before the objMail.Body line.
Enjoy!
|
|||||
|
Main Menu Other Resources
Last Updated:
|
|||||
|
© 1997-2009 ASP Web Pro, Inc. | Terms of Use
|