July 2000
Intermediate to advanced
492 pages
14h 53m
English
<%
' The following code uses the CreateObject method to
' instantiate a NewMail object on the server.
Dim objNewMail
Set objNewMail = Server.CreateObject("CDONTS.NewMail")
%>For more details on the use of the CreateObject method, see its entry in Chapter 9.
To use the CDO constants listed in this chapter, you must declare the CDO type library. The following code demonstrates this:
[Excerpt from GLOBAL.ASA] <!-- METADATA TYPE="TypeLibrary" FILE="CDONTS.DLL" VERSION="1.2" -->
Examples in this chapter assume you have declared the type library beforehand.
In this chapter, any CDO constant is followed by the constant's value in parentheses.
Read now
Unlock full access