ImapClientListMessages Method (String, Boolean) |
Gets the list of messages in the specified folder
Namespace:
Aspose.Email.Clients.Imap
Assembly:
Aspose.Email (in Aspose.Email.dll) Version: 22.4
Syntaxpublic ImapMessageInfoCollection ListMessages(
string folderName,
bool retrieveRecursively
)
Public Function ListMessages (
folderName As String,
retrieveRecursively As Boolean
) As ImapMessageInfoCollection
public:
ImapMessageInfoCollection^ ListMessages(
String^ folderName,
bool retrieveRecursively
)
member ListMessages :
folderName : string *
retrieveRecursively : bool -> ImapMessageInfoCollection
Parameters
- folderName
- Type: SystemString
Folder to retrieve messages. - retrieveRecursively
- Type: SystemBoolean
Indicates, if messages have to be retrieved recursively.
Return Value
Type:
ImapMessageInfoCollectionCollection of ImapMessageInfo objects
See Also