Activities
latest
false
GetMessagesAsync - Other latest
Banner background image
logo
Productivity Activities
Last updated Feb 16, 2024

GetMessagesAsync

Retrieves Outlook email messages asynchronously.

Namespace: UiPath.Mail.Activities.Api

Assembly: UiPath.Mail.Activities.Api (in UiPath.Mail.Activities.Api.dll)

Overloads

OverloadDescription
GetMessagesAsync(GetOutlookMailOptions, CancellationToken)Retrieves Outlook mail messages asynchronously, with additional options configured using the GetOutlookMailOptions object.
GetMessagesAsync(GetMailOptions, CancellationToken)Retrieves Outlook mail messages with additional options.
GetMessagesAsync(CancellationToken)Retrieves Outlook mail messages.

GetMessagesAsync(GetOutlookMailOptions, CancellationToken)

Retrieves Outlook mail messages asynchronously, with additional options configured using the GetOutlookMailOptions object.
Task<IReadOnlyCollection<MailMessage>> GetMessagesAsync(
	GetOutlookMailOptions options,
	CancellationToken token
)Task<IReadOnlyCollection<MailMessage>> GetMessagesAsync(
	GetOutlookMailOptions options,
	CancellationToken token
)
options GetOutlookMailOptions
The options used to retrieve the email messages.
token CancellationToken
The cancellation token to cancel the operation.

Return value

Task<IReadOnlyCollection<MailMessage>>

The collection of messages.

Support and Services icon
Get The Help You Need
UiPath Academy icon
Learning RPA - Automation Courses
UiPath Forum icon
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.