CDO2000
Full reference for CDO2000 can be found searching the Microsoft MSDN website.
Below is the VBscript code required to send a simple email using CDO2000.
<%
Set cdoMessage = Server.CreateObject("CDO.Message")
cdoMessage.To = """toName"" <toEmailAddress>"
cdoMessage.From = """fromName"" <fromEmailAddress>"
cdoMessage.Subject = "Subject here..."
cdoMessage.TextBody = "Message here..."
cdoMessage.Send
Set cdoMessage = Nothing
%>
If you wish to use CDO2000 contants by name (rather than by value), you will need to add the following Type Library reference to the top of your script:
<!--METADATA TYPE="typelib" NAME="CDO for Windows 2000 Type Library" UUID="CD000000-8B95-11D1-82DB-00C04FB1625D"-->
Click here to return to the previous page.
|