Website Design Resources Pg8 » Active Server Pages ( ASP )
- HyperText Markup Language / eXtensible Markup Language ( HTML/XML )
- Cascading Style Sheets ( CSS )
- Javascript / DHTML
- Really Simple Syndication ( RSS )
- Weblog
- Google Sitemaps
- Common Gateway Interface ( CGI )
- Active Server Pages ( ASP )
- Multiple IE Versions
- Accessible Web Design
ASP:
If you are using a Windows NT, 2000/2003 Server, or even XP Pro CDONTS or CDOSYS are your best bet for sending email from ASP. Collaboration Data Objects Win 2000 (CDOSYS) and Collaboration Data Objects Win NT Server (CDONTS) (1.x) are both object libraries designed to enable SMTP Messaging.
CDONTS:
The CDONTS component is installed on NT4 and Windows 2000. Although the component will run on Windows XP, Microsoft have decided to remove the component from IIS 5.1 on Windows XP, so you will have to track down a copy of the cdonts.dll and register it on the IIS web server.
To use this component to send e-mail you also need the SMTP Server that ships with IIS 4 or 5 installed on the web server. The SMTP server is usually installed by default with the standard IIS installation.
CDOSYS:
CDOSYS provides all of the same functionality as CDONTS (plus substantially more). CDOSYS requires Windows 2000 and either a local or remote SMTP Server (which can be an Exchange server).
The most notable differences between CDONTS (1.x) and CDOSYS is that CDOSYS:
- Provides great support for MIME messages.
- Can be run on the client side.
- Supports selection among multiple SMTP configurations.
- Supports server events.
Sample Code for HTM and ASP Files:
This resource contains sample code that can be used to collect information from a user on a .HTM page, and then use that information to send mail to a recipient using Collaboration Data Objects for Windows NT Server (CDONTS) over SMTP. The form and ASP file can be altered to change the requested/processed information. The ASP file contains some simple validation checkpoints which can also be changed or improved as required.
Download the XHTML form file and the ASP CDONTS file.
If you would like a customised ASP form script in CDONTS or CDOSYS with full spam protection and autoresponder with submit details, contact us for a quote. We are also open to requests for free forms if you are able to offer us a permanent link from your site on a PR4+ page.
For further information on ASP go to:
