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)
| Parameter | Description |
|---|---|
| host | The 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)
| Parameter | Description |
|---|---|
| host | The host name |
| securityOptions | Security 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)
| Parameter | Description |
|---|---|
| host | The host name |
| port | The 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)
| Parameter | Description |
|---|---|
| host | The host name |
| port | The port number |
| securityOptions | Security 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)
| Parameter | Description |
|---|---|
| host | The host name |
| username | The user name |
| password | The 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)
| Parameter | Description |
|---|---|
| host | The host name |
| username | The user name |
| password | The password |
| securityOptions | Security 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)
| Parameter | Description |
|---|---|
| host | The host name |
| port | The port number |
| username | The user name |
| password | The 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)
| Parameter | Description |
|---|---|
| host | The host name |
| port | The port number |
| username | The user name |
| password | The password |
| securityOptions | Security 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)
| Parameter | Description |
|---|---|
| host | The host name |
| port | The portnumber |
| username | The user name |
| password | The password |
| userCertificateValidationCallback | System.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)
| Parameter | Description |
|---|---|
| host | The host name |
| port | The portnumber |
| username | The user name |
| password | The password |
| userCertificateValidationCallback | System.Net.Security.RemoteCertificateValidationCallback |
| securityOptions | Security 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)
| Parameter | Description |
|---|---|
| host | The host name |
| username | The user name |
| authInfo | The user password or XOAUTH2 access token |
| useOAuth | Defines 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)
| Parameter | Description |
|---|---|
| host | The host name |
| username | The user name |
| authInfo | The user password or XOAUTH2 access token |
| useOAuth | Defines whether SASL XOAUTH2 mechanism is used to login to the server |
| securityOptions | Security 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)
| Parameter | Description |
|---|---|
| host | The host name |
| port | The port number |
| username | The user name |
| authInfo | The user password or XOAUTH2 access token |
| useOAuth | Defines 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)
| Parameter | Description |
|---|---|
| host | The host name |
| port | The port number |
| username | The user name |
| authInfo | The user password or XOAUTH2 access token |
| useOAuth | Defines whether SASL XOAUTH2 mechanism is used to login to the server |
| securityOptions | Security 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)
| Parameter | Description |
|---|---|
| host | The host name |
| username | The user name |
| tokenProvider | TokenProvider 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)
| Parameter | Description |
|---|---|
| host | The host name |
| username | The user name |
| tokenProvider | TokenProvider allowing to retrieve access token. |
| securityOptions | Security 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)
| Parameter | Description |
|---|---|
| host | The host name |
| port | The port number |
| username | The user name |
| tokenProvider | TokenProvider 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)
| Parameter | Description |
|---|---|
| host | The host name |
| port | The port number |
| username | The user name |
| tokenProvider | TokenProvider allowing to retrieve access token. |
| securityOptions | Security mode for a mail client |