Represents the client that creates server connection by using the host credentials. More...
Inherits IDisposable.
Inherited by Aspose::Email::Clients::CredentialsByHostClient.
Public Member Functions | |
ASPOSE_EMAIL_SHARED_API bool | get_EnableLogger () |
Gets value which allows enable/disable logger More... | |
ASPOSE_EMAIL_SHARED_API void | set_EnableLogger (bool value) |
Sets value which allows enable/disable logger More... | |
ASPOSE_EMAIL_SHARED_API System::String | get_LogFileName () const |
Gets log file name More... | |
ASPOSE_EMAIL_SHARED_API void | set_LogFileName (System::String value) |
Sets log file name More... | |
ASPOSE_EMAIL_SHARED_API bool | get_UseDateInLogFileName () const |
Gets value which indicates if date has to be used in log file name. More... | |
ASPOSE_EMAIL_SHARED_API void | set_UseDateInLogFileName (bool value) |
Sets value which indicates if date has to be used in log file name. More... | |
virtual ASPOSE_EMAIL_SHARED_API System::SharedPtr< Aspose::Email::Tools::Logging::Logger > | get_Logger () |
virtual ASPOSE_EMAIL_SHARED_API void | set_Logger (System::SharedPtr< Aspose::Email::Tools::Logging::Logger > value) |
virtual ASPOSE_EMAIL_SHARED_API Base::EncryptionProtocols | get_SupportedEncryption () |
Defines the versions of SSL/TLS encription protocols to be uised. More... | |
virtual ASPOSE_EMAIL_SHARED_API void | set_SupportedEncryption (Base::EncryptionProtocols value) |
Defines the versions of SSL/TLS encription protocols to be uised. More... | |
virtual ASPOSE_EMAIL_SHARED_API System::SharedPtr< System::Security::Cryptography::X509Certificates::X509CertificateCollection > | get_ClientCertificates () |
Contains collection of clients certificates More... | |
virtual ASPOSE_EMAIL_SHARED_API System::SharedPtr< PipeliningStatus > | get_UsePipelining () |
Gets object which indicates whether the pipelining mode is enabled. More... | |
virtual ASPOSE_EMAIL_SHARED_API void | set_UsePipelining (System::SharedPtr< PipeliningStatus > value) |
Sets object which indicates whether the pipelining mode is enabled. More... | |
virtual ASPOSE_EMAIL_SHARED_API System::String | get_Host () |
Gets the host name. More... | |
virtual ASPOSE_EMAIL_SHARED_API void | set_Host (System::String value) |
Sets the host name. More... | |
virtual ASPOSE_EMAIL_SHARED_API int32_t | get_DefaultPort () |
Gets default port for client More... | |
virtual ASPOSE_EMAIL_SHARED_API int32_t | get_Port () |
Gets the port. More... | |
virtual ASPOSE_EMAIL_SHARED_API void | set_Port (int32_t value) |
Sets the port. More... | |
virtual ASPOSE_EMAIL_SHARED_API Aspose::Email::Clients::SecurityOptions | get_SecurityOptions () |
Security mode for a mail client More... | |
virtual ASPOSE_EMAIL_SHARED_API void | set_SecurityOptions (Aspose::Email::Clients::SecurityOptions value) |
Security mode for a mail client More... | |
virtual ASPOSE_EMAIL_SHARED_API bool | get_UseAuthentication () |
Indicates whether authentication is used. More... | |
virtual ASPOSE_EMAIL_SHARED_API void | set_UseAuthentication (bool value) |
Indicates whether authentication is used. More... | |
virtual ASPOSE_EMAIL_SHARED_API int32_t | get_ConnectionCheckupPeriod () |
Period of connection checking up in milliseconds. Default value is 5 min. More... | |
virtual ASPOSE_EMAIL_SHARED_API void | set_ConnectionCheckupPeriod (int32_t value) |
Period of connection checking up in milliseconds. Default value is 5 min. More... | |
virtual ASPOSE_EMAIL_SHARED_API bool | get_UseDefaultCredentials () |
Gets a Boolean value that controls whether the DefaultCredentials are sent with requests. More... | |
virtual ASPOSE_EMAIL_SHARED_API void | set_UseDefaultCredentials (bool value) |
Sets a Boolean value that controls whether the DefaultCredentials are sent with requests. More... | |
virtual ASPOSE_EMAIL_SHARED_API System::SharedPtr< Aspose::Email::Clients::Proxy > | get_Proxy () |
Gets proxy for the client More... | |
virtual ASPOSE_EMAIL_SHARED_API void | set_Proxy (System::SharedPtr< Aspose::Email::Clients::Proxy > value) |
Sets proxy for the client More... | |
ASPOSE_EMAIL_SHARED_API int32_t | get_Timeout () |
Gets the timeout for mail operations More... | |
ASPOSE_EMAIL_SHARED_API void | set_Timeout (int32_t value) |
Sets the timeout for mail operations More... | |
ASPOSE_EMAIL_SHARED_API System::SharedPtr< System::Net::ICredentialsByHost > | get_Credentials () |
ASPOSE_EMAIL_SHARED_API void | set_Credentials (System::SharedPtr< System::Net::ICredentialsByHost > value) |
virtual ASPOSE_EMAIL_SHARED_API System::String | get_Password () |
Gets the password. More... | |
virtual ASPOSE_EMAIL_SHARED_API void | set_Password (System::String value) |
Sets the password. More... | |
virtual ASPOSE_EMAIL_SHARED_API System::String | get_AccessToken () |
Gets the access token. More... | |
virtual ASPOSE_EMAIL_SHARED_API void | set_AccessToken (System::String value) |
Sets the access token. More... | |
ASPOSE_EMAIL_SHARED_API System::SharedPtr< ITokenProvider > | get_TokenProvider () const |
Gets TokenProvider allowing to retrieve access token. More... | |
ASPOSE_EMAIL_SHARED_API void | set_TokenProvider (System::SharedPtr< ITokenProvider > value) |
Sets TokenProvider allowing to retrieve access token. More... | |
virtual ASPOSE_EMAIL_SHARED_API System::String | get_Username () |
Gets the username. More... | |
virtual ASPOSE_EMAIL_SHARED_API void | set_Username (System::String value) |
Sets the username. More... | |
ASPOSE_EMAIL_SHARED_API Aspose::Email::Clients::ConnectionState | get_ConnectionState () |
Gets the current state of the connection. More... | |
ASPOSE_EMAIL_SHARED_API System::SharedPtr< Aspose::Email::Clients::ConnectionPool > | get_ConnectionPool () const |
Gets connection pool for the client More... | |
virtual ASPOSE_EMAIL_SHARED_API System::SharedPtr< IConnection > | get_CurrentConnection () |
Gets current connection according to ConnectionAsgmtMode option More... | |
virtual ASPOSE_EMAIL_SHARED_API ConnectionAsgmtType | get_ConnectionAsgmtMode () |
Gets value which defines mode of connection allocation in multiple threads environment More... | |
virtual ASPOSE_EMAIL_SHARED_API void | set_ConnectionAsgmtMode (ConnectionAsgmtType value) |
Sets value which defines mode of connection allocation in multiple threads environment More... | |
virtual ASPOSE_EMAIL_SHARED_API MultyConnectionMode | get_UseMultyConnection () |
Gets value which indicates if client has to use multiple connections for heavy loaded operations. Please note, using of this mode not necessary has to lead to performance increasing. More... | |
virtual ASPOSE_EMAIL_SHARED_API void | set_UseMultyConnection (MultyConnectionMode value) |
Sets value which indicates if client has to use multiple connections for heavy loaded operations. Please note, using of this mode not necessary has to lead to performance increasing. More... | |
virtual ASPOSE_EMAIL_SHARED_API MultiConnectionMode | get_UseMultiConnection () |
Gets value which indicates if client has to use multiple connections for heavy loaded operations. Please note, using of this mode not necessary has to lead to performance increasing. More... | |
virtual ASPOSE_EMAIL_SHARED_API void | set_UseMultiConnection (MultiConnectionMode value) |
Sets value which indicates if client has to use multiple connections for heavy loaded operations. Please note, using of this mode not necessary has to lead to performance increasing. More... | |
virtual ASPOSE_EMAIL_SHARED_API int32_t | get_ConnectionsQuantity () |
Gets quantity of connections in multy-connection mode More... | |
virtual ASPOSE_EMAIL_SHARED_API void | set_ConnectionsQuantity (int32_t value) |
Sets quantity of connections in multy-connection mode More... | |
ASPOSE_EMAIL_SHARED_API void | InitializeConnectionPool () |
ASPOSE_EMAIL_SHARED_API void | ResetLogSettings () |
Resets logging settings to default. More... | |
ASPOSE_EMAIL_SHARED_API void | initializeLogger () |
virtual ASPOSE_EMAIL_SHARED_API void | CheckCredentials () |
virtual ASPOSE_EMAIL_SHARED_API System::ArrayPtr< System::String > | GetCapabilities () |
ASPOSE_EMAIL_SHARED_API void | CancelAsyncOperation (System::SharedPtr< System::IAsyncResult > asyncResult) |
Cancels asynchronous operation. More... | |
virtual ASPOSE_EMAIL_SHARED_API void | Noop ()=0 |
'No operation' command More... | |
virtual ASPOSE_EMAIL_SHARED_API void | Noop (System::SharedPtr< IConnection > connection)=0 |
'No operation' command More... | |
virtual ASPOSE_EMAIL_SHARED_API void | Noop (System::SharedPtr< Connection > connection, int32_t timeout)=0 |
'No operation' command More... | |
virtual ASPOSE_EMAIL_SHARED_API void | ConnectionFinalize (System::SharedPtr< System::Object > sender, System::SharedPtr< Base::ConnectionEventArgs > args) |
Performs finalization operation for specified connection More... | |
ASPOSE_EMAIL_SHARED_API System::SharedPtr< System::Object > | EndGroupOperation (System::SharedPtr< System::IAsyncResult > asyncResult) |
Waits for the pending asynchronous operation to complete. More... | |
virtual ASPOSE_EMAIL_SHARED_API void | Dispose () |
Finalizes all operations with a server. More... | |
virtual ASPOSE_EMAIL_SHARED_API System::SharedPtr< IConnection > | CreateConnection () |
Creates new independent connection for operations not linked to threads (not default connection). Invocation of this method is similar to invocation of CreateConnection(createAsDefaultConnection = false) Please see more in documentation for EmailClient.ConnectionAsgmtMode property. More... | |
virtual ASPOSE_EMAIL_SHARED_API System::SharedPtr< IConnection > | CreateConnection (bool createAsDefaultConnection) |
Creates new (default or independent) connection for operations. Please see more in documentation for EmailClient.ConnectionAsgmtMode property. More... | |
virtual ASPOSE_EMAIL_SHARED_API | ~EmailClient () |
Public Attributes | |
System::SharedPtr< System::Object > | loggerSyncObj |
System::SharedPtr< Aspose::Email::Tools::Logging::Logger > | logger |
System::String | password |
System::String | username |
System::String | accessToken |
System::SharedPtr< ITokenProvider > | tokenProvider |
System::SharedPtr< Aspose::Email::Clients::ConnectionPool > | connectionPool |
System::String | clientType |
Static Public Attributes | |
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< System::Object > | logManagerSyncObj |
Protected Member Functions | |
ASPOSE_EMAIL_SHARED_API | EmailClient (System::String type) |
Initializes a new instance of the EmailClient class. More... | |
ASPOSE_EMAIL_SHARED_API | EmailClient (System::String type, System::String host, int32_t port) |
Initializes a new instance of the EmailClient class. More... | |
ASPOSE_EMAIL_SHARED_API | EmailClient (System::String type, System::String host, int32_t port, Aspose::Email::Clients::SecurityOptions securityOptions) |
Initializes a new instance of the EmailClient class. More... | |
ASPOSE_EMAIL_SHARED_API | EmailClient (System::String type, System::String host, int32_t port, System::String username, System::String password) |
Initializes a new instance of the EmailClient class. More... | |
ASPOSE_EMAIL_SHARED_API | EmailClient (System::String type, System::String host, int32_t port, System::String username, System::String password, Aspose::Email::Clients::SecurityOptions securityOptions) |
Initializes a new instance of the EmailClient class. More... | |
ASPOSE_EMAIL_SHARED_API | EmailClient (System::String type, System::String host, int32_t port, System::String username, System::String authInfo, bool useOAuth) |
Initializes a new instance of the EmailClient class. More... | |
ASPOSE_EMAIL_SHARED_API | EmailClient (System::String type, System::String host, int32_t port, System::String username, System::String authInfo, bool useOAuth, Aspose::Email::Clients::SecurityOptions securityOptions) |
Initializes a new instance of the EmailClient class. More... | |
ASPOSE_EMAIL_SHARED_API | EmailClient (System::String type, System::String host, int32_t port, System::String username, System::SharedPtr< ITokenProvider > tokenProvider) |
Initializes a new instance of the EmailClient class. More... | |
ASPOSE_EMAIL_SHARED_API | EmailClient (System::String type, System::String host, int32_t port, System::String username, System::SharedPtr< ITokenProvider > tokenProvider, Aspose::Email::Clients::SecurityOptions securityOptions) |
Initializes a new instance of the EmailClient class. More... | |
virtual ASPOSE_EMAIL_SHARED_API void | Dispose (bool disposing) |
Finalizes all operations with a server. More... | |
Friends | |
class | Aspose::Email::Clients::CredentialsByHostClient |
class | Aspose::Email::Clients::Base::BaseProtocolCommand |
class | Aspose::Email::Clients::ConnectionPool |
Represents the client that creates server connection by using the host credentials.
|
virtual |
|
protected |
Initializes a new instance of the EmailClient class.
|
protected |
Initializes a new instance of the EmailClient class.
host | The host name. |
port | The port number. |
|
protected |
Initializes a new instance of the EmailClient class.
host | The host name. |
port | The port number. |
securityOptions | Security mode for a mail client |
|
protected |
Initializes a new instance of the EmailClient class.
host | The host name. |
port | The port number. |
username | The username. |
password | The password. |
|
protected |
Initializes a new instance of the EmailClient class.
host | The host name. |
port | The port number. |
username | The username. |
password | The password. |
securityOptions | Security mode for a mail client |
|
protected |
Initializes a new instance of the EmailClient class.
host | The host. |
port | The port. |
username | The username. |
authInfo | A string representation of the user password or the access token. |
useOAuth | Defines whether OAuth is used to login to the server |
|
protected |
Initializes a new instance of the EmailClient class.
host | The host. |
port | The port. |
username | The username. |
authInfo | A string representation of the user password or the access token. |
useOAuth | Defines whether OAuth is used to login to the server |
securityOptions | Security mode for a mail client |
|
protected |
Initializes a new instance of the EmailClient class.
host | The host. |
port | The port. |
username | The username. |
tokenProvider | TokenProvider allowing to retrieve access token. |
|
protected |
Initializes a new instance of the EmailClient class.
host | The host. |
port | The port. |
username | The username. |
tokenProvider | TokenProvider allowing to retrieve access token. |
securityOptions |
ASPOSE_EMAIL_SHARED_API void Aspose::Email::Clients::EmailClient::CancelAsyncOperation | ( | System::SharedPtr< System::IAsyncResult > | asyncResult | ) |
Cancels asynchronous operation.
asyncResult | Defines asynchronous operation to cancel. |
|
virtual |
|
virtual |
Performs finalization operation for specified connection
sender | The source of the event. |
args | An ConnectionManagerEventArgs that contains the event data. |
|
virtual |
Creates new independent connection for operations not linked to threads (not default connection). Invocation of this method is similar to invocation of CreateConnection(createAsDefaultConnection = false) Please see more in documentation for EmailClient.ConnectionAsgmtMode property.
|
virtual |
Creates new (default or independent) connection for operations. Please see more in documentation for EmailClient.ConnectionAsgmtMode property.
createAsDefaultConnection | Indicates if connection has to be created as default for current thread |
|
virtual |
Finalizes all operations with a server.
|
protectedvirtual |
Finalizes all operations with a server.
disposing | true to release both managed and unmanaged resources; false to release only unmanaged resources. |
ASPOSE_EMAIL_SHARED_API System::SharedPtr<System::Object> Aspose::Email::Clients::EmailClient::EndGroupOperation | ( | System::SharedPtr< System::IAsyncResult > | asyncResult | ) |
Waits for the pending asynchronous operation to complete.
asyncResult | The reference to the pending asynchronous request to wait for. |
|
virtual |
Gets the access token.
The string that represents access token.
|
virtual |
Contains collection of clients certificates
|
virtual |
Gets value which defines mode of connection allocation in multiple threads environment
There are folowing connection types:
There are folowing connection allocation types:
This mode uses by default in email clients. Email client uses main connection for all operations from multiple threads if default connection hasn't been created, or connection hasnt been passed as method parameter explicitly. Main connection is connection which is created in the same time like email client. User can create default connections for threads with CreateConnection method. If default connection for thread is created, it's used implicitly for all methods of email client which are invoked in this thread. If default connection for thread is not created, main connection is used for all methods of email client which are invoked in this thread. User also can create connections not linked with threads (not default connections) with CreateConnection method. If user wants to use other connections (not main and not default) he has to pass this connection explicitly as parameter of a method which he wants to use. User can additionally create any number of connections. Default connection can be only one per thread. Please note default connections works correctly if user uses Thread objects for multitasking programming. If user uses ConnectionPool or uses Task objects for multitasking programming this mode may lead to wrong behaviour of a programm. To avoid this problem user has to manually dispose default conection (if he uses it) in the end of the code which executes in the thread.
Email client uses main connection for all operations from multiple threads. Main connection is connection which is created in the same time like email client. User cann't create default connections. User can create connections not linked with threads (not default connections) with CreateConnection method. If user wants to use other connections (not main and not default) he has to pass this connection explicitly as parameter of a method which he wants to use. User can additionally create any number of connections.
Email client uses implicitly only default connections for all operations from multiple threads. Main connection is not used in this mode. If default connection hasn't been created for some thread (first invocation of email client method), email client creates default connection implicitly for thread before first operation is executed. User can't create default connections for threads with CreateConnection method because they are created automatically. When default connection for thread is created, it's used implicitly for all methods of email client which are invoked in this thread.read. User also can create connections not linked with threads (not default connections) with CreateConnection method. If user wants to use other connections (not main and not default) he has to pass this connection explicitly as parameter of a method which he wants to use. User can additionally create any number of connections. Default connection can be only one per thread. Please note default connections works correctly if user uses Thread objects for multitasking programming. If user uses ConnectionPool or uses Task objects for multitasking programming this mode may lead to wrong behaviour of a programm. To avoid this problem user has to manually dispose default conection in the end of the code which executes in the thread.
|
virtual |
Period of connection checking up in milliseconds. Default value is 5 min.
ASPOSE_EMAIL_SHARED_API System::SharedPtr<Aspose::Email::Clients::ConnectionPool> Aspose::Email::Clients::EmailClient::get_ConnectionPool | ( | ) | const |
Gets connection pool for the client
|
virtual |
Gets quantity of connections in multy-connection mode
ASPOSE_EMAIL_SHARED_API Aspose::Email::Clients::ConnectionState Aspose::Email::Clients::EmailClient::get_ConnectionState | ( | ) |
Gets the current state of the connection.
ASPOSE_EMAIL_SHARED_API System::SharedPtr<System::Net::ICredentialsByHost> Aspose::Email::Clients::EmailClient::get_Credentials | ( | ) |
|
virtual |
Gets current connection according to ConnectionAsgmtMode option
|
virtual |
Gets default port for client
ASPOSE_EMAIL_SHARED_API bool Aspose::Email::Clients::EmailClient::get_EnableLogger | ( | ) |
Gets value which allows enable/disable logger
|
virtual |
Gets the host name.
The host name.
ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::Clients::EmailClient::get_LogFileName | ( | ) | const |
Gets log file name
|
virtual |
|
virtual |
Gets the password.
The string that represents the password.
|
virtual |
Gets the port.
The port number.
|
virtual |
Gets proxy for the client
|
virtual |
Security mode for a mail client
|
virtual |
Defines the versions of SSL/TLS encription protocols to be uised.
ASPOSE_EMAIL_SHARED_API int32_t Aspose::Email::Clients::EmailClient::get_Timeout | ( | ) |
Gets the timeout for mail operations
The timeout in milliseconds
ASPOSE_EMAIL_SHARED_API System::SharedPtr<ITokenProvider> Aspose::Email::Clients::EmailClient::get_TokenProvider | ( | ) | const |
Gets TokenProvider allowing to retrieve access token.
|
virtual |
Indicates whether authentication is used.
ASPOSE_EMAIL_SHARED_API bool Aspose::Email::Clients::EmailClient::get_UseDateInLogFileName | ( | ) | const |
Gets value which indicates if date has to be used in log file name.
|
virtual |
Gets a Boolean value that controls whether the DefaultCredentials are sent with requests.
|
virtual |
Gets value which indicates if client has to use multiple connections for heavy loaded operations. Please note, using of this mode not necessary has to lead to performance increasing.
|
virtual |
Gets value which indicates if client has to use multiple connections for heavy loaded operations. Please note, using of this mode not necessary has to lead to performance increasing.
|
virtual |
Gets object which indicates whether the pipelining mode is enabled.
|
virtual |
Gets the username.
The username string.
|
virtual |
ASPOSE_EMAIL_SHARED_API void Aspose::Email::Clients::EmailClient::InitializeConnectionPool | ( | ) |
ASPOSE_EMAIL_SHARED_API void Aspose::Email::Clients::EmailClient::initializeLogger | ( | ) |
|
pure virtual |
'No operation' command
|
pure virtual |
'No operation' command
connection | Connection to a server |
timeout | timeout of a command |
|
pure virtual |
'No operation' command
connection | Connection to a server |
ASPOSE_EMAIL_SHARED_API void Aspose::Email::Clients::EmailClient::ResetLogSettings | ( | ) |
Resets logging settings to default.
|
virtual |
Sets the access token.
The string that represents access token.
|
virtual |
Sets value which defines mode of connection allocation in multiple threads environment
There are folowing connection types:
There are folowing connection allocation types:
This mode uses by default in email clients. Email client uses main connection for all operations from multiple threads if default connection hasn't been created, or connection hasnt been passed as method parameter explicitly. Main connection is connection which is created in the same time like email client. User can create default connections for threads with CreateConnection method. If default connection for thread is created, it's used implicitly for all methods of email client which are invoked in this thread. If default connection for thread is not created, main connection is used for all methods of email client which are invoked in this thread. User also can create connections not linked with threads (not default connections) with CreateConnection method. If user wants to use other connections (not main and not default) he has to pass this connection explicitly as parameter of a method which he wants to use. User can additionally create any number of connections. Default connection can be only one per thread. Please note default connections works correctly if user uses Thread objects for multitasking programming. If user uses ConnectionPool or uses Task objects for multitasking programming this mode may lead to wrong behaviour of a programm. To avoid this problem user has to manually dispose default conection (if he uses it) in the end of the code which executes in the thread.
Email client uses main connection for all operations from multiple threads. Main connection is connection which is created in the same time like email client. User cann't create default connections. User can create connections not linked with threads (not default connections) with CreateConnection method. If user wants to use other connections (not main and not default) he has to pass this connection explicitly as parameter of a method which he wants to use. User can additionally create any number of connections.
Email client uses implicitly only default connections for all operations from multiple threads. Main connection is not used in this mode. If default connection hasn't been created for some thread (first invocation of email client method), email client creates default connection implicitly for thread before first operation is executed. User can't create default connections for threads with CreateConnection method because they are created automatically. When default connection for thread is created, it's used implicitly for all methods of email client which are invoked in this thread.read. User also can create connections not linked with threads (not default connections) with CreateConnection method. If user wants to use other connections (not main and not default) he has to pass this connection explicitly as parameter of a method which he wants to use. User can additionally create any number of connections. Default connection can be only one per thread. Please note default connections works correctly if user uses Thread objects for multitasking programming. If user uses ConnectionPool or uses Task objects for multitasking programming this mode may lead to wrong behaviour of a programm. To avoid this problem user has to manually dispose default conection in the end of the code which executes in the thread.
|
virtual |
Period of connection checking up in milliseconds. Default value is 5 min.
|
virtual |
Sets quantity of connections in multy-connection mode
ASPOSE_EMAIL_SHARED_API void Aspose::Email::Clients::EmailClient::set_Credentials | ( | System::SharedPtr< System::Net::ICredentialsByHost > | value | ) |
ASPOSE_EMAIL_SHARED_API void Aspose::Email::Clients::EmailClient::set_EnableLogger | ( | bool | value | ) |
Sets value which allows enable/disable logger
|
virtual |
Sets the host name.
The host name.
ASPOSE_EMAIL_SHARED_API void Aspose::Email::Clients::EmailClient::set_LogFileName | ( | System::String | value | ) |
Sets log file name
|
virtual |
|
virtual |
Sets the password.
The string that represents the password.
|
virtual |
Sets the port.
The port number.
|
virtual |
Sets proxy for the client
|
virtual |
Security mode for a mail client
|
virtual |
Defines the versions of SSL/TLS encription protocols to be uised.
ASPOSE_EMAIL_SHARED_API void Aspose::Email::Clients::EmailClient::set_Timeout | ( | int32_t | value | ) |
Sets the timeout for mail operations
The timeout in milliseconds
ASPOSE_EMAIL_SHARED_API void Aspose::Email::Clients::EmailClient::set_TokenProvider | ( | System::SharedPtr< ITokenProvider > | value | ) |
Sets TokenProvider allowing to retrieve access token.
|
virtual |
Indicates whether authentication is used.
ASPOSE_EMAIL_SHARED_API void Aspose::Email::Clients::EmailClient::set_UseDateInLogFileName | ( | bool | value | ) |
Sets value which indicates if date has to be used in log file name.
|
virtual |
Sets a Boolean value that controls whether the DefaultCredentials are sent with requests.
|
virtual |
Sets value which indicates if client has to use multiple connections for heavy loaded operations. Please note, using of this mode not necessary has to lead to performance increasing.
|
virtual |
Sets value which indicates if client has to use multiple connections for heavy loaded operations. Please note, using of this mode not necessary has to lead to performance increasing.
|
virtual |
Sets object which indicates whether the pipelining mode is enabled.
|
virtual |
Sets the username.
The username string.
|
friend |
|
friend |
|
friend |
System::String Aspose::Email::Clients::EmailClient::accessToken |
System::String Aspose::Email::Clients::EmailClient::clientType |
System::SharedPtr<Aspose::Email::Clients::ConnectionPool> Aspose::Email::Clients::EmailClient::connectionPool |
System::SharedPtr<Aspose::Email::Tools::Logging::Logger> Aspose::Email::Clients::EmailClient::logger |
System::SharedPtr<System::Object> Aspose::Email::Clients::EmailClient::loggerSyncObj |
|
static |
System::String Aspose::Email::Clients::EmailClient::password |
System::SharedPtr<ITokenProvider> Aspose::Email::Clients::EmailClient::tokenProvider |
System::String Aspose::Email::Clients::EmailClient::username |