Activities
latest
false
Banner background image
Productivity Activities
Last updated Apr 26, 2024

ImapConnectionOptions

Options used to connect to the IMAP mail server.

Namespace: UiPath.Mail.Activities.Api

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

Inheritance: System.Object > MailConnectionOptions > ImapConnectionOptions

Constructor

Initializes a new instance of the ImapConnectionOptions class.

Namespace: UiPath.Mail.Activities.Api

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

ImapConnectionOptions (string, int)

public ImapConnectionOptions(
	string server,
	int port
)public ImapConnectionOptions(
	string server,
	int port
)
server String

The email server host to use.

port Int32
The port used to connect.

Properties

PropertyTypeDescription
ClientNamestringThe Name property of the IMAP client implementation.
ClientVersionstringThe Version property of the IMAP client implementation.
Emailstring

Inherited from MailConnectionOptions.

IgnoreCRLbool

Inherited from MailConnectionOptions.

Passwordstring

Inherited from MailConnectionOptions.

Portint

Inherited from MailConnectionOptions.

SecureConnectionSecureSocketEncryption

Inherited from MailConnectionOptions.

Serverstring

Inherited from MailConnectionOptions.

UseOAuthbool

Inherited from MailConnectionOptions.

Methods

These are the methods you can use to configure IMAP connection options.

WithClient

Set the ClientName and ClientVersion properties of the IMAP client implementation.

Namespace: UiPath.Mail.Activities.Api

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

WithClient(string, string)

public ImapConnectionOptions WithClient(
	string name,
	string version
)public ImapConnectionOptions WithClient(
	string name,
	string version
)
name String
The Name property of the IMAP client implementation.
version String
The Version property of the IMAP client implementation.

Return Value

ImapConnectionOptions
Returns an updated instance of ImapConnectionOptions.

WithClientName

Set the ClientName property of the IMAP client implementation.

Namespace: UiPath.Mail.Activities.Api

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

WithClientName(string)

public ImapConnectionOptions WithClientName(
	string name
)public ImapConnectionOptions WithClientName(
	string name
)
name String
The Name property of the IMAP client implementation.

Return Value

ImapConnectionOptions
Returns an updated instance of ImapConnectionOptions.

WithClientVersion

Set the ClientVersion property of the IMAP client implementation.

Namespace: UiPath.Mail.Activities.Api

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

WithClientVersion(string)

public ImapConnectionOptions WithClientVersion(
	string version
)public ImapConnectionOptions WithClientVersion(
	string version
)
version String
The Version property of the IMAP client implementation.

Return Value

ImapConnectionOptions
Returns an updated instance of ImapConnectionOptions.
  • Constructor
  • ImapConnectionOptions (string, int)
  • Properties
  • Methods
  • WithClient
  • WithClientName
  • WithClientVersion

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.