Imap.GetMessageList Method
Namespace: Rebex.Net
Assembly: Rebex.Imap.dll (version 7.0.9448)
GetMessageList(ImapMessageSet, ImapListFields, ImapPageView)
Gets the list of messages in the current folder that belong to a specified message set.
Declaration
public ImapMessageCollection GetMessageList(ImapMessageSet messageSet, ImapListFields fields, ImapPageView pageView)
Parameters
| Type | Name | Description |
|---|---|---|
| ImapMessageSet | messageSet | A set of messages. |
| ImapListFields | fields | Specifies the scope of information to determine about each message. |
| ImapPageView | pageView | Paging definition. Only supported by servers that support the PARTIAL extension. |
Returns
| Type | Description |
|---|---|
| ImapMessageCollection | A collection of ImapMessageInfo objects. |
Remarks
This method represents IMAP FETCH command.
GetMessageList(ImapMessageSet, ImapListFields)
Gets the list of messages in the current folder that belong to a specified message set.
Declaration
public ImapMessageCollection GetMessageList(ImapMessageSet messageSet, ImapListFields fields)
Parameters
| Type | Name | Description |
|---|---|---|
| ImapMessageSet | messageSet | A set of messages. |
| ImapListFields | fields | Specifies the scope of information to determine about each message. |
Returns
| Type | Description |
|---|---|
| ImapMessageCollection | A collection of ImapMessageInfo objects. |
Remarks
This method represents IMAP FETCH command.
GetMessageList(ImapMessageSet)
Gets the list of messages in the current folder that belong to a specified message set.
Declaration
public ImapMessageCollection GetMessageList(ImapMessageSet messageSet)
Parameters
| Type | Name | Description |
|---|---|---|
| ImapMessageSet | messageSet | A set of messages. |
Returns
| Type | Description |
|---|---|
| ImapMessageCollection | A collection of ImapMessageInfo objects. |
Remarks
The returned list will contain the envelope information about each message.
This method represents IMAP FETCH command.
GetMessageList(ImapListFields)
Gets the list of messages in the current folder.
Declaration
public ImapMessageCollection GetMessageList(ImapListFields fields)
Parameters
| Type | Name | Description |
|---|---|---|
| ImapListFields | fields | Specifies the scope of information to determine about each message. |
Returns
| Type | Description |
|---|---|
| ImapMessageCollection | A collection of ImapMessageInfo objects. |
Remarks
This method represents IMAP FETCH command.
GetMessageList()
Gets the list of messages in the current folder.
Declaration
public ImapMessageCollection GetMessageList()
Returns
| Type | Description |
|---|---|
| ImapMessageCollection | A collection of ImapMessageInfo objects. |
Remarks
The returned list will contain the envelope information about each message.
This method represents IMAP FETCH command.