ImapClient.ImapClient
ImapClient()
Initializes a new instance of the ImapClient
class
public ImapClient()
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
ImapClient(string)
Initializes a new instance of the ImapClient
class
public ImapClient(string host)
Parameter | Type | Description |
---|---|---|
host | String | The host name |
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
ImapClient(string, SecurityOptions)
Initializes a new instance of the ImapClient
class
public ImapClient(string host, SecurityOptions securityOptions)
Parameter | Type | Description |
---|---|---|
host | String | The host name |
securityOptions | SecurityOptions | Security mode for a mail client |
See Also
- enum SecurityOptions
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
ImapClient(string, int)
Initializes a new instance of the ImapClient
class
public ImapClient(string host, int port)
Parameter | Type | Description |
---|---|---|
host | String | The host name |
port | Int32 | The port number |
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
ImapClient(string, int, SecurityOptions)
Initializes a new instance of the ImapClient
class
public ImapClient(string host, int port, SecurityOptions securityOptions)
Parameter | Type | Description |
---|---|---|
host | String | The host name |
port | Int32 | The port number |
securityOptions | SecurityOptions | Security mode for a mail client |
See Also
- enum SecurityOptions
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
ImapClient(string, string, string)
Initializes a new instance of the ImapClient
class
public ImapClient(string host, string username, string password)
Parameter | Type | Description |
---|---|---|
host | String | The host name |
username | String | The user name |
password | String | The password |
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
ImapClient(string, string, string, SecurityOptions)
Initializes a new instance of the ImapClient
class
public ImapClient(string host, string username, string password, SecurityOptions securityOptions)
Parameter | Type | Description |
---|---|---|
host | String | The host name |
username | String | The user name |
password | String | The password |
securityOptions | SecurityOptions | Security mode for a mail client |
See Also
- enum SecurityOptions
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
ImapClient(string, int, string, string)
Initializes a new instance of the ImapClient
class
public ImapClient(string host, int port, string username, string password)
Parameter | Type | Description |
---|---|---|
host | String | The host name |
port | Int32 | The port number |
username | String | The user name |
password | String | The password |
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
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)
Parameter | Type | Description |
---|---|---|
host | String | The host name |
port | Int32 | The port number |
username | String | The user name |
password | String | The password |
securityOptions | SecurityOptions | Security mode for a mail client |
See Also
- enum SecurityOptions
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
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)
Parameter | Type | Description |
---|---|---|
host | String | The host name |
port | Int32 | The portnumber |
username | String | The user name |
password | String | The password |
userCertificateValidationCallback | RemoteCertificateValidationCallback | System.Net.Security.RemoteCertificateValidationCallback |
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
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)
Parameter | Type | Description |
---|---|---|
host | String | The host name |
port | Int32 | The portnumber |
username | String | The user name |
password | String | The password |
userCertificateValidationCallback | RemoteCertificateValidationCallback | System.Net.Security.RemoteCertificateValidationCallback |
securityOptions | SecurityOptions | Security mode for a mail client |
See Also
- enum SecurityOptions
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
ImapClient(string, string, string, bool)
Initializes a new instance of the ImapClient
class
public ImapClient(string host, string username, string authInfo, bool useOAuth)
Parameter | Type | Description |
---|---|---|
host | String | The host name |
username | String | The user name |
authInfo | String | The user password or XOAUTH2 access token |
useOAuth | Boolean | Defines whether SASL XOAUTH2 mechanism is used to login to the server |
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
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)
Parameter | Type | Description |
---|---|---|
host | String | The host name |
username | String | The user name |
authInfo | String | The user password or XOAUTH2 access token |
useOAuth | Boolean | Defines whether SASL XOAUTH2 mechanism is used to login to the server |
securityOptions | SecurityOptions | Security mode for a mail client |
See Also
- enum SecurityOptions
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
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)
Parameter | Type | Description |
---|---|---|
host | String | The host name |
port | Int32 | The port number |
username | String | The user name |
authInfo | String | The user password or XOAUTH2 access token |
useOAuth | Boolean | Defines whether SASL XOAUTH2 mechanism is used to login to the server |
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
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)
Parameter | Type | Description |
---|---|---|
host | String | The host name |
port | Int32 | The port number |
username | String | The user name |
authInfo | String | The user password or XOAUTH2 access token |
useOAuth | Boolean | Defines whether SASL XOAUTH2 mechanism is used to login to the server |
securityOptions | SecurityOptions | Security mode for a mail client |
See Also
- enum SecurityOptions
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
ImapClient(string, string, ITokenProvider)
Initializes a new instance of the ImapClient
class
public ImapClient(string host, string username, ITokenProvider tokenProvider)
Parameter | Type | Description |
---|---|---|
host | String | The host name |
username | String | The user name |
tokenProvider | ITokenProvider | TokenProvider allowing to retrieve access token. |
See Also
- interface ITokenProvider
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
ImapClient(string, string, ITokenProvider, SecurityOptions)
Initializes a new instance of the ImapClient
class
public ImapClient(string host, string username, ITokenProvider tokenProvider,
SecurityOptions securityOptions)
Parameter | Type | Description |
---|---|---|
host | String | The host name |
username | String | The user name |
tokenProvider | ITokenProvider | TokenProvider allowing to retrieve access token. |
securityOptions | SecurityOptions | Security mode for a mail client |
See Also
- interface ITokenProvider
- enum SecurityOptions
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
ImapClient(string, int, string, ITokenProvider)
Initializes a new instance of the ImapClient
class
public ImapClient(string host, int port, string username, ITokenProvider tokenProvider)
Parameter | Type | Description |
---|---|---|
host | String | The host name |
port | Int32 | The port number |
username | String | The user name |
tokenProvider | ITokenProvider | TokenProvider allowing to retrieve access token. |
See Also
- interface ITokenProvider
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
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)
Parameter | Type | Description |
---|---|---|
host | String | The host name |
port | Int32 | The port number |
username | String | The user name |
tokenProvider | ITokenProvider | TokenProvider allowing to retrieve access token. |
securityOptions | SecurityOptions | Security mode for a mail client |
See Also
- interface ITokenProvider
- enum SecurityOptions
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email