ExecuteSearch

This documentation provides details about the ExecuteSearch class within the pyews package.

This class is used to execute a search as the authenticated user but acting like an Outlook mail client.

class pyews.endpoint.executesearch.ExecuteSearch(query, result_row_count='25', max_results_count='-1')

Executes a search as an Outlook client for the authenticated user.

Args:
query (str): The query to search for. result_row_count (str, optional): The row count of results. Defaults to ‘25’. max_results_count (str, optional): The max results count. -1 equals unlimited. Defaults to ‘-1’.
RESULTS_KEY = 'Items'
soap()