activities
latest
false
UiPath logo, featuring letters U and I in white
Productivity Activities
Last updated Dec 6, 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.

Was this page helpful?

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