CDONTS has been deprecated by Microsoft in favor of CDOSYS on hosting plans on Windows 2003 Servers. This applies to both our Corporate and Business Hosting plans. CDO.Message is supported and JMail should also work. For a list of components that are installed on the Windows Servers click here.
Please see the following website for more information sending email through CDO
For other windows hosting plans that are still hosted on the windows 2000 server, you can still use CDONTS. The following is the actual ASP code that you can use to send an email from ASP page. Make sure that this website is hosted on a Windows 2000 web server. For Windows 2003 web servers, see the link above.
Set MyCDONTSMail = CreateObject("CDONTS.NewMail")
MyBody = "my message body" & vbCrLf
MyBody = MyBody & "additional message body" & vbCrLf
MyBody = MyBody & "additional message body"