Platform SDK: CDO 1.2.1 |
This sample application includes the following files:
File | Purpose |
---|---|
compose.asp | Compose message form. First, it authenticates the user (sets up a CDO session). Then it is used for input of the intended message recipients, the message subject, and the message body. Calls resolve.asp when the user submits the form. |
default.htm | Takes the user to rootcomp.asp. |
global.asa | Performs Active Server™ startup and shutdown functions, including impersonation to validate the user. |
logon.inc | Include file containing functions that perform basic logon tasks. |
resolve.asp | Resolves recipients. This file retrieves input from compose.asp and checks for valid recipients. After this is done, resolve.asp attempts to send the e-mail message. |
rootcomp.asp | The root frame for the compose note. This file sets up a frameset for compose.asp and resolve.asp to display the compose-message form. This file also contains the JavaScript function checkInput, which verifies that at least one recipient name has been entered. |
Resolve.asp creates and adds a message object to the Outbox's Messages collection. It stores recipient data and message text retrieved from the form in rootcomp.asp and then resolves recipients. If resolution is successful, it sends the message with:
Message.Send( saveCopyFlag )