Gets Messages located in the specified Folder, optionally applying a search query.

Syntax

ISMessaging_Email.GetMessages(folderName, messages, [searchQuery])

Parameters

NameTypeOptionalByRefDescription
folderName String The full name of the Folder that contains the Messages to load.
messages ISEmailMessages ByRef Returns the collection of Messages.
searchQuery String Optional <para>Optional Search Query to apply. For more information see https://datatracker.ietf.org/doc/html/rfc3501#section-6.4.4 </para> <para>Examples:</para> <list> <item>UNSEEN</item> <item>SINCE 29-Nov-2023</item> </list> <para>For Exchange queries use Advanced Query Syntax (AQS). For more information see https://learn.microsoft.com/en-us/exchange/client-developer/exchange-web-services/how-to-perform-an-aqs-search-by-using-ews-in-exchange </para> <para>Examples:</para> <list> <item>isread:false</item> <item>sent:>november 29, 2023</item> </list>

Return Value

Boolean

A Boolean indicating Success.

Member of:
ISMessaging_Email
Namespace:
Intersoft.ISMessaging6
Assembly:
ISMessaging6, Version=6.0.3
Target Framework:
.NET 9.0