activities
latest
false
UiPath logo, featuring letters U and I in white
Productivity Activities
Last updated Nov 21, 2024

GetMessages

Retrieves Outlook email messages.

Namespace: UiPath.Mail.Activities.Api

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

Overloads

OverloadDescription
GetMessages(GetOutlookMailOptions)Retrieves Outlook messages based on the properties specific to Outlook that you configure using the GetOutlookMailOptions object.
GetMessages(GetMailOptions)Retrieves Outlook messages with additional options.
GetMessages()Retrieves Outlook messages.

GetMessages(GetOutlookMailOptions)

Retrieves Outlook messages based on the properties specific to Outlook that you configure using the GetOutlookMailOptions object.
IReadOnlyCollection<MailMessage> GetMessages(
	GetOutlookMailOptions options
)IReadOnlyCollection<MailMessage> GetMessages(
	GetOutlookMailOptions options
)
options GetOutlookMailOptions
The options used to retrieve the email messages.

Return value

IReadOnlyCollection<MailMessage>

The collection of messages.

GetMessages(GetMailOptions)

Retrieve email messages with additional options.

IReadOnlyCollection<MailMessage> GetMessages(
                GetMailOptions options
                )IReadOnlyCollection<MailMessage> GetMessages(
                GetMailOptions options
                )
options GetMailOptions
Additional options to customize the retrieval of mails:
  • Top - The number of messages to retrieve starting from the top of the list.

GetMessages()

Retrieve email messages.

IReadOnlyCollection<MailMessage> GetMessages()IReadOnlyCollection<MailMessage> GetMessages()

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.