Visual Basic: MAPI Controls

Visual Studio 6.0

Fetch Method

See Also    Example    Applies To

Creates a message set from selected messages in the Inbox.

Syntax

object.Fetch

The object placeholder represents an object expression that evaluates to an object in the Applies To list.

Remarks

The message set includes all messages in the Inbox which are of the types specified by the FetchMsgType property. They are sorted as specified by the FetchSorted property. If the FetchUnreadOnly property is set to True, only unread messages are included in the message set.

Any attachment files in the read buffer are deleted when a subsequent fetch action occurs.

Show: