activities
latest
false
UiPath logo, featuring letters U and I in white

Productivity activities

Last updated Mar 13, 2026

GetPop3MailOptions

Options used to retrieve POP3 email messages.

Namespace: UiPath.Mail.Activities.Api

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

Inheritance: System.Object > GetMailOptions > GetPop3MailOptions

Properties

Table 1.

PropertyTypeDescription
DeleteMessagesboolSpecifies if the read messages should be marked for delete.
Topint32Order mail messages by date.

GetPOP3MailOptions Methods

These are the methods you can use to configure mail options.

WithDeleteMessages

Specify if the read messages should be marked for delete.

Namespace: UiPath.Mail.Activities.Api

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

WithDeleteMessages(bool)
public GetPop3MailOptions WithDeleteMessages(
	bool deleteMessages
)
public GetPop3MailOptions WithDeleteMessages(
	bool deleteMessages
)

deleteMessages Boolean : Whether the read messages should be marked for delete.

Return Value

GetPop3MailOptions : Returns an updated instance of GetPop3MailOptions.

WithTop

Set the number of messages to retrieve starting from the top of the list.

Namespace: UiPath.Mail.Activities.Api

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

WithTop(int)
public GetPop3MailOptions WithTop(
	int top
)
public GetPop3MailOptions WithTop(
	int top
)

top Int32 : The number of messages to retrieve.

Return Value

GetPop3MailOptions : Returns an updated instance of GetPop3MailOptions.

  • Properties
  • GetPOP3MailOptions Methods
  • WithDeleteMessages
  • WithTop

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated