ImapClient.ImapClient

ImapClient()

Initializes a new instance of the ImapClient class

public ImapClient()

See Also


ImapClient(string)

Initializes a new instance of the ImapClient class

public ImapClient(string host)
ParameterTypeDescription
hostStringThe host name

See Also


ImapClient(string, SecurityOptions)

Initializes a new instance of the ImapClient class

public ImapClient(string host, SecurityOptions securityOptions)
ParameterTypeDescription
hostStringThe host name
securityOptionsSecurityOptionsSecurity mode for a mail client

See Also


ImapClient(string, int)

Initializes a new instance of the ImapClient class

public ImapClient(string host, int port)
ParameterTypeDescription
hostStringThe host name
portInt32The port number

See Also


ImapClient(string, int, SecurityOptions)

Initializes a new instance of the ImapClient class

public ImapClient(string host, int port, SecurityOptions securityOptions)
ParameterTypeDescription
hostStringThe host name
portInt32The port number
securityOptionsSecurityOptionsSecurity mode for a mail client

See Also


ImapClient(string, string, string)

Initializes a new instance of the ImapClient class

public ImapClient(string host, string username, string password)
ParameterTypeDescription
hostStringThe host name
usernameStringThe user name
passwordStringThe password

See Also


ImapClient(string, string, string, SecurityOptions)

Initializes a new instance of the ImapClient class

public ImapClient(string host, string username, string password, SecurityOptions securityOptions)
ParameterTypeDescription
hostStringThe host name
usernameStringThe user name
passwordStringThe password
securityOptionsSecurityOptionsSecurity mode for a mail client

See Also


ImapClient(string, int, string, string)

Initializes a new instance of the ImapClient class

public ImapClient(string host, int port, string username, string password)
ParameterTypeDescription
hostStringThe host name
portInt32The port number
usernameStringThe user name
passwordStringThe password

See Also


ImapClient(string, int, string, string, SecurityOptions)

Initializes a new instance of the ImapClient class

public ImapClient(string host, int port, string username, string password, 
    SecurityOptions securityOptions)
ParameterTypeDescription
hostStringThe host name
portInt32The port number
usernameStringThe user name
passwordStringThe password
securityOptionsSecurityOptionsSecurity mode for a mail client

See Also


ImapClient(string, int, string, string, RemoteCertificateValidationCallback)

Initializes a new instance of the ImapClient class

public ImapClient(string host, int port, string username, string password, 
    RemoteCertificateValidationCallback userCertificateValidationCallback)
ParameterTypeDescription
hostStringThe host name
portInt32The portnumber
usernameStringThe user name
passwordStringThe password
userCertificateValidationCallbackRemoteCertificateValidationCallbackSystem.Net.Security.RemoteCertificateValidationCallback

See Also


ImapClient(string, int, string, string, RemoteCertificateValidationCallback, SecurityOptions)

Initializes a new instance of the ImapClient class

public ImapClient(string host, int port, string username, string password, 
    RemoteCertificateValidationCallback userCertificateValidationCallback, 
    SecurityOptions securityOptions)
ParameterTypeDescription
hostStringThe host name
portInt32The portnumber
usernameStringThe user name
passwordStringThe password
userCertificateValidationCallbackRemoteCertificateValidationCallbackSystem.Net.Security.RemoteCertificateValidationCallback
securityOptionsSecurityOptionsSecurity mode for a mail client

See Also


ImapClient(string, string, string, bool)

Initializes a new instance of the ImapClient class

public ImapClient(string host, string username, string authInfo, bool useOAuth)
ParameterTypeDescription
hostStringThe host name
usernameStringThe user name
authInfoStringThe user password or XOAUTH2 access token
useOAuthBooleanDefines whether SASL XOAUTH2 mechanism is used to login to the server

See Also


ImapClient(string, string, string, bool, SecurityOptions)

Initializes a new instance of the ImapClient class

public ImapClient(string host, string username, string authInfo, bool useOAuth, 
    SecurityOptions securityOptions)
ParameterTypeDescription
hostStringThe host name
usernameStringThe user name
authInfoStringThe user password or XOAUTH2 access token
useOAuthBooleanDefines whether SASL XOAUTH2 mechanism is used to login to the server
securityOptionsSecurityOptionsSecurity mode for a mail client

See Also


ImapClient(string, int, string, string, bool)

Initializes a new instance of the ImapClient class

public ImapClient(string host, int port, string username, string authInfo, bool useOAuth)
ParameterTypeDescription
hostStringThe host name
portInt32The port number
usernameStringThe user name
authInfoStringThe user password or XOAUTH2 access token
useOAuthBooleanDefines whether SASL XOAUTH2 mechanism is used to login to the server

See Also


ImapClient(string, int, string, string, bool, SecurityOptions)

Initializes a new instance of the ImapClient class

public ImapClient(string host, int port, string username, string authInfo, bool useOAuth, 
    SecurityOptions securityOptions)
ParameterTypeDescription
hostStringThe host name
portInt32The port number
usernameStringThe user name
authInfoStringThe user password or XOAUTH2 access token
useOAuthBooleanDefines whether SASL XOAUTH2 mechanism is used to login to the server
securityOptionsSecurityOptionsSecurity mode for a mail client

See Also


ImapClient(string, string, ITokenProvider)

Initializes a new instance of the ImapClient class

public ImapClient(string host, string username, ITokenProvider tokenProvider)
ParameterTypeDescription
hostStringThe host name
usernameStringThe user name
tokenProviderITokenProviderTokenProvider allowing to retrieve access token.

See Also


ImapClient(string, string, ITokenProvider, SecurityOptions)

Initializes a new instance of the ImapClient class

public ImapClient(string host, string username, ITokenProvider tokenProvider, 
    SecurityOptions securityOptions)
ParameterTypeDescription
hostStringThe host name
usernameStringThe user name
tokenProviderITokenProviderTokenProvider allowing to retrieve access token.
securityOptionsSecurityOptionsSecurity mode for a mail client

See Also


ImapClient(string, int, string, ITokenProvider)

Initializes a new instance of the ImapClient class

public ImapClient(string host, int port, string username, ITokenProvider tokenProvider)
ParameterTypeDescription
hostStringThe host name
portInt32The port number
usernameStringThe user name
tokenProviderITokenProviderTokenProvider allowing to retrieve access token.

See Also


ImapClient(string, int, string, ITokenProvider, SecurityOptions)

Initializes a new instance of the ImapClient class

public ImapClient(string host, int port, string username, ITokenProvider tokenProvider, 
    SecurityOptions securityOptions)
ParameterTypeDescription
hostStringThe host name
portInt32The port number
usernameStringThe user name
tokenProviderITokenProviderTokenProvider allowing to retrieve access token.
securityOptionsSecurityOptionsSecurity mode for a mail client

See Also