UiPath Documentation
activities
latest
false
Productivity activities

GetMessages

Retrieves Outlook email messages.

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.
* `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?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated