Messages object

Description

The messages object is a collection of messages, typically connected to a specific IMAP folder.

Methods

Add()

Adds a new message to this collection.

Clear()

Removes all messages in the collection.

DeleteByDBID(long lDBID)

Deletes a message.

Properties

long Count

Returns the number of messages in the collection.
(read-only)

Message Item(long Index)

Returns the message in the collection with the given index.
(read-only)

Message ItemByDBID(long DBID)

Returns the message in the collection with the given database index.
(read-only)

Search documentation