March 17, 1999

Implementing the EventListener Interface

The EventListener interface is a marker or tag interface that doesn’t define any methods. Its purpose is to provide a base interface for all event listener objects that follow the Listener pattern (see Tip “Understanding the Listener Pattern”).To implement the Listener pattern, you must define the method that needs to

Automate E-mail with VBScript

If you have Simple Mail Transfer Protocol (SMTP) installed with Internet Information Server (IIS), you can automate e-mail through VBScript. The Collaboration Data Objects for Windows NT Server (CDONTS) component can be automated for e-mail: Set objMail = CreateObject(“CDONTS.Newmail”)objMail.From = “[email protected]”objMail.To = “[email protected]”objMail.Subject = “Welcome”objMail.Body = “You have been added