Folder Object

Parent object: Session object.

An object reference to a Folder object can be returned from a call to the GetDefaultFolder method or from the InBox or OutBox properties of a Session object.

The Folder object represents the Inbox or Outbox for the current session. Use the Folder object to access, add, or delete Message objects in the default Inbox or Outbox for the current messaging system and session. Table 15.8 and Table 15.9 list the properties and the single collection, respectively, of the Folder object.

Table 15.8. Folder Object Properties

Property

Description

Messages

Returns a pointer to the current Folder object's Messages collection

Name

A read-only string that represents the name of the folder

Table 15.9. Folder Object Collection

Collection

Description

Messages

Each Folder object has a child Messages collection. The Messages collection contains zero or more Message objects

Get ASP in a Nutshell, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.