ImapClient

ImapClient (1 of 19)

Initializes a new instance of the ImapClient class

Returns: Aspose::Email::Clients::Imap::

ImapClient()

ImapClient (2 of 19)

Initializes a new instance of the ImapClient class

Returns: Aspose::Email::Clients::Imap::

ImapClient(System::String host)
ParameterDescription
hostThe host name

ImapClient (3 of 19)

Initializes a new instance of the ImapClient class

Returns: Aspose::Email::Clients::Imap::

ImapClient(System::String host, Aspose::Email::Clients::SecurityOptions securityOptions)
ParameterDescription
hostThe host name
securityOptionsSecurity mode for a mail client

ImapClient (4 of 19)

Initializes a new instance of the ImapClient class

Returns: Aspose::Email::Clients::Imap::

ImapClient(System::String host, int32_t port)
ParameterDescription
hostThe host name
portThe port number

ImapClient (5 of 19)

Initializes a new instance of the ImapClient class

Returns: Aspose::Email::Clients::Imap::

ImapClient(System::String host, int32_t port, Aspose::Email::Clients::SecurityOptions securityOptions)
ParameterDescription
hostThe host name
portThe port number
securityOptionsSecurity mode for a mail client

ImapClient (6 of 19)

Initializes a new instance of the ImapClient class

Returns: Aspose::Email::Clients::Imap::

ImapClient(System::String host, System::String username, System::String password)
ParameterDescription
hostThe host name
usernameThe user name
passwordThe password

ImapClient (7 of 19)

Initializes a new instance of the ImapClient class

Returns: Aspose::Email::Clients::Imap::

ImapClient(System::String host, System::String username, System::String password, Aspose::Email::Clients::SecurityOptions securityOptions)
ParameterDescription
hostThe host name
usernameThe user name
passwordThe password
securityOptionsSecurity mode for a mail client

ImapClient (8 of 19)

Initializes a new instance of the ImapClient class

Returns: Aspose::Email::Clients::Imap::

ImapClient(System::String host, int32_t port, System::String username, System::String password)
ParameterDescription
hostThe host name
portThe port number
usernameThe user name
passwordThe password

ImapClient (9 of 19)

Initializes a new instance of the ImapClient class

Returns: Aspose::Email::Clients::Imap::

ImapClient(System::String host, int32_t port, System::String username, System::String password, Aspose::Email::Clients::SecurityOptions securityOptions)
ParameterDescription
hostThe host name
portThe port number
usernameThe user name
passwordThe password
securityOptionsSecurity mode for a mail client

ImapClient (10 of 19)

Initializes a new instance of the ImapClient class

Returns: Aspose::Email::Clients::Imap::

ImapClient(System::String host, int32_t port, System::String username, System::String password, System::Net::Security::RemoteCertificateValidationCallback userCertificateValidationCallback)
ParameterDescription
hostThe host name
portThe portnumber
usernameThe user name
passwordThe password
userCertificateValidationCallbackSystem.Net.Security.RemoteCertificateValidationCallback

ImapClient (11 of 19)

Initializes a new instance of the ImapClient class

Returns: Aspose::Email::Clients::Imap::

ImapClient(System::String host, int32_t port, System::String username, System::String password, System::Net::Security::RemoteCertificateValidationCallback userCertificateValidationCallback, Aspose::Email::Clients::SecurityOptions securityOptions)
ParameterDescription
hostThe host name
portThe portnumber
usernameThe user name
passwordThe password
userCertificateValidationCallbackSystem.Net.Security.RemoteCertificateValidationCallback
securityOptionsSecurity mode for a mail client

ImapClient (12 of 19)

Initializes a new instance of the ImapClient class

Returns: Aspose::Email::Clients::Imap::

ImapClient(System::String host, System::String username, System::String authInfo, bool useOAuth)
ParameterDescription
hostThe host name
usernameThe user name
authInfoThe user password or XOAUTH2 access token
useOAuthDefines whether SASL XOAUTH2 mechanism is used to login to the server

ImapClient (13 of 19)

Initializes a new instance of the ImapClient class

Returns: Aspose::Email::Clients::Imap::

ImapClient(System::String host, System::String username, System::String authInfo, bool useOAuth, Aspose::Email::Clients::SecurityOptions securityOptions)
ParameterDescription
hostThe host name
usernameThe user name
authInfoThe user password or XOAUTH2 access token
useOAuthDefines whether SASL XOAUTH2 mechanism is used to login to the server
securityOptionsSecurity mode for a mail client

ImapClient (14 of 19)

Initializes a new instance of the ImapClient class

Returns: Aspose::Email::Clients::Imap::

ImapClient(System::String host, int32_t port, System::String username, System::String authInfo, bool useOAuth)
ParameterDescription
hostThe host name
portThe port number
usernameThe user name
authInfoThe user password or XOAUTH2 access token
useOAuthDefines whether SASL XOAUTH2 mechanism is used to login to the server

ImapClient (15 of 19)

Initializes a new instance of the ImapClient class

Returns: Aspose::Email::Clients::Imap::

ImapClient(System::String host, int32_t port, System::String username, System::String authInfo, bool useOAuth, Aspose::Email::Clients::SecurityOptions securityOptions)
ParameterDescription
hostThe host name
portThe port number
usernameThe user name
authInfoThe user password or XOAUTH2 access token
useOAuthDefines whether SASL XOAUTH2 mechanism is used to login to the server
securityOptionsSecurity mode for a mail client

ImapClient (16 of 19)

Initializes a new instance of the ImapClient class

Returns: Aspose::Email::Clients::Imap::

ImapClient(System::String host, System::String username, System::SharedPtr < ITokenProvider > tokenProvider)
ParameterDescription
hostThe host name
usernameThe user name
tokenProviderTokenProvider allowing to retrieve access token.

ImapClient (17 of 19)

Initializes a new instance of the ImapClient class

Returns: Aspose::Email::Clients::Imap::

ImapClient(System::String host, System::String username, System::SharedPtr < ITokenProvider > tokenProvider, Aspose::Email::Clients::SecurityOptions securityOptions)
ParameterDescription
hostThe host name
usernameThe user name
tokenProviderTokenProvider allowing to retrieve access token.
securityOptionsSecurity mode for a mail client

ImapClient (18 of 19)

Initializes a new instance of the ImapClient class

Returns: Aspose::Email::Clients::Imap::

ImapClient(System::String host, int32_t port, System::String username, System::SharedPtr < ITokenProvider > tokenProvider)
ParameterDescription
hostThe host name
portThe port number
usernameThe user name
tokenProviderTokenProvider allowing to retrieve access token.

ImapClient (19 of 19)

Initializes a new instance of the ImapClient class

Returns: Aspose::Email::Clients::Imap::

ImapClient(System::String host, int32_t port, System::String username, System::SharedPtr < ITokenProvider > tokenProvider, Aspose::Email::Clients::SecurityOptions securityOptions)
ParameterDescription
hostThe host name
portThe port number
usernameThe user name
tokenProviderTokenProvider allowing to retrieve access token.
securityOptionsSecurity mode for a mail client