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

Productivity Activities

Last updated Mar 19, 2025

Imap Connection

Creates a service that can retrieve IMAP email messages from the specified server.

Namespace: UiPath.Mail.Activities.Api

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

Overloads

OverloadDescription
Imap(ImapConnectionOptions)Creates a service that can retrieve IMAP email messages from the specified server with properties configured using the ImapConnectionOptions object.
Imap(String, Int32)Creates a service that can retrieve IMAP email messages from the specified server.

Imap(ImapConnectionOptions)

Creates a service that can retrieve IMAP email messages from the specified server. Can be configured with additional options.

 IImapMailService Imap(
	ImapConnectionOptions options
)IImapMailService Imap(
	ImapConnectionOptions options
)
options ImapConnectionOptions

Additional options to customize the retrieval of mails:

Imap(String, Int32)

Creates a service that can retrieve IMAP email messages from the specified server.

 IImapMailService Imap(
	string server,
	int port = 143
)IImapMailService Imap(
	string server,
	int port = 143
)
server String

The email server host to use.

port Int32 (Optional)

The port used to get the email messages (default = 143).

Return value

IImapMailService
Returns an instance of IImapMailService.

Was this page helpful?

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