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 |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access