Gets the list of messages in the current folder.

Namespace:  Rebex.Net
Assembly:  Rebex.Imap (in Rebex.Imap.dll)

Syntax

Visual Basic
Public Function GetMessageList ( _
	fields As ImapListFields _
) As ImapMessageCollection
C#
public ImapMessageCollection GetMessageList(
	ImapListFields fields
)

Parameters

fields
Type: Rebex.Net..::..ImapListFields
Specifies the scope of information to determine about each message.

Return Value

A collection of ImapMessageInfo objects.

Remarks

This method represents IMAP FETCH command.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also