ASP Code Articles
Sending Email
Sending emails from a site is something that it extremely important for any possible marketing effort, from a simple contact form to a "tell a friend" script through to a fully featured newsletter system. Being able to keep your vistors informed and allow them to keep in touch with you is a very useful tool.
Using a server side method of sending message rather than the mailto: link is also more secure and will help in keeping the mailboxes used spam free. There are two ASP objects that are supplied with IIS servers. CDONTS, used with Windows NT4 though was not installed by default, is supplied and installed with Windows 2000. Also available is the newer and more functional CDOSYS. This is installed with Windows 2000 [ IIS 5 ] (Pro and Server versions), Windows XP [ IIS 5.1 ] and Windows 2003 Server [ IIS 6 ]. It is CDOSYS that should be used from Windows 2000 onwards though CDONTS can be set up and used where backwards compatibility is required.
This article is not intended as a tutorial on how to use these SMTP components, but just to set a little background and to introduce the functions written here to utilise them.

