Here's the Basic code for using CDO for emailing on an NT / IIS server. You must include the first section to instantiate the object, and the rest are the standard email sections. Be sure to fill in valid email addresses in the FROM and TO sections below.
Sending an email with asp is fairly easy, all you need is CDONTS (Collaboration Data Objects for NT Server, installed with IIS), or a special component like AspEmail ( free ) by Persits Software Inc (there are more available).
Before the sending of a mail to avoid a useless excess load on IIS, it is possible to use a simple function to verify that the email address is well formed. In a more pushed process we could be also brought to interrogate the smtp corresponding server to know if the address exists or not.
Mostly Web sites are hosted in remote locations. Users' private information, like registered profile and orders, collected in those sites needs to be securely transferred for processing or analysis. PGP can be used to send such information securely in an encrypted e-mail format. The transfer of this information can be triggered immediately after it gets added/updated on a remote site.
In this tutorial I intend to teach you how to take a user entered email address and validate it on the server side. Mind you we're not checking to see if it actually exists, as if we could, but rather if it is in the correct syntax of a valid email address.
Joining mailing list will entitle you
to receive occasional emails informing you of news and
updates to the site and any special offers that may be
of interest to you.