Aspose::Email::Clients Namespace Reference

Namespaces

 ActiveSync
 
 Base
 
 Exchange
 
 Imap
 
 Pop3
 
 Smtp
 

Classes

class  AsyncCommandResultEventArgs
 AsyncCommandResultEventArgs is containing event data. More...
 
class  CommandStatus
 Indicates the result of an operation. More...
 
class  CredentialsByHostClient
 Represents the client that creates server connection by using the host credentials. More...
 
class  HttpProxy
 HTTP proxy client. More...
 
class  IAsyncResultExt
 Represents the extended status of an asynchronous operation. More...
 
class  ICommand
 Defines a command. More...
 
class  IConnection
 IConnectionAdapter allows to manage connection to a server. More...
 
class  ITokenProvider
 Defines interface allowing to retrieve access token. More...
 
class  NetworkException
 Thrown if there is a network connection failure. More...
 
class  OAuthNetworkCredential
 Represents the NetworkCredential for OAuth authentication. More...
 
class  OAuthToken
 Contains OAuth token data such like token value, token type, expiration date. More...
 
class  PageInfo
 Contains information about retrieved page when paging methods are used. More...
 
class  PipeliningStatus
 Defines pipelining status for mail client. More...
 
class  Proxy
 Base proxy client. More...
 
class  SocksProxy
 SOCKS proxy client. Supported versions of the protocol are SOCKS4 and SOCKS5. More...
 
class  TokenProvider
 Class TokenProvider allows to retrieve access token for mail services. More...
 

Typedefs

using BindIPEndPointHandler = System::MulticastDelegate< System::SharedPtr< System::Net::IPEndPoint >(System::SharedPtr< System::Net::IPEndPoint >)>
 

Enumerations

enum  AsyncCommandResults { AsyncCommandResults::Undefined, AsyncCommandResults::Successfully, AsyncCommandResults::Failed, AsyncCommandResults::Cancelled }
 The result of asynchronous command. More...
 
enum  CompressionType { CompressionType::None = 0, CompressionType::Deflate = 1 }
 Compression types which are used by mail protocols More...
 
enum  ConnectionState { ConnectionState::Closed = 0, ConnectionState::Open = 1, ConnectionState::Broken = 16 }
 Describes the current state of the connection. More...
 
enum  PipeliningMode { PipeliningMode::Auto, PipeliningMode::Enabled, PipeliningMode::Disabled }
 Defines how mail client supports the pipelining More...
 
enum  HttpAuthenticationMethods : uint8_t { HttpAuthenticationMethods::NoAuthentication = 0x01, HttpAuthenticationMethods::Basic = 0x02 }
 The authentication methods supported by the HTTP proxy More...
 
enum  SocksAuthenticationMethods : uint8_t { SocksAuthenticationMethods::NoAuthentication = 0x01, SocksAuthenticationMethods::PlainText = 0x02 }
 The authentication methods supported by the SOCKS protocol More...
 
enum  SocksVersion : uint8_t { SocksVersion::SocksV4 = 4, SocksVersion::SocksV5 = 5 }
 Versions of the SOCKS protocol More...
 
enum  SecurityOptions {
  SecurityOptions::None = 0, SecurityOptions::SSLExplicit = 1, SecurityOptions::SSLImplicit = 2, SecurityOptions::SSLAuto = 4,
  SecurityOptions::Auto = 256
}
 Security mode for a mail client More...
 
enum  TokenType { TokenType::AccessToken, TokenType::RefreshToken }
 Defines OAuth token types More...
 

Functions

 DECLARE_ENUM_OPERATORS (Aspose::Email::Clients::CompressionType)
 
 DECLARE_ENUM_OPERATORS (Aspose::Email::Clients::ConnectionState)
 
 DECLARE_ENUM_OPERATORS (Aspose::Email::Clients::HttpAuthenticationMethods)
 
 DECLARE_ENUM_OPERATORS (Aspose::Email::Clients::SocksAuthenticationMethods)
 

Typedef Documentation

◆ BindIPEndPointHandler

using Aspose::Email::Clients::BindIPEndPointHandler = typedef System::MulticastDelegate<System::SharedPtr<System::Net::IPEndPoint>(System::SharedPtr<System::Net::IPEndPoint>)>

Enumeration Type Documentation

◆ AsyncCommandResults

The result of asynchronous command.

Enumerator
Undefined 

Undefined result.

Successfully 

Successfully result.

Failed 

Failed result.

Cancelled 

The command is Cancelled.

◆ CompressionType

Compression types which are used by mail protocols

Enumerator
None 

Compression is not defined

Deflate 

Deflate algorithm is used

◆ ConnectionState

Describes the current state of the connection.

Enumerator
Closed 

The connection is closed.

Open 

The connection is open.

Broken 

The connection is broken.

◆ HttpAuthenticationMethods

The authentication methods supported by the HTTP proxy

Enumerator
NoAuthentication 

No authentication

Basic 

Basic access authentication.

◆ PipeliningMode

Defines how mail client supports the pipelining

Enumerator
Auto 

Client enables pipelining mode in case if server declares that pipelining is supported

Enabled 

Pipelining mode is enabled.

Disabled 

Pipelining mode is disabled.

◆ SecurityOptions

Security mode for a mail client

Enumerator
None 

Connection is not secured.

SSLExplicit 

Uses the STARTTLS command to start SSL connection.

SSLImplicit 

Establishes a SSL connection first.

SSLAuto 

Uses SSL implicit or SSL explicit mode automatically.

Auto 

Auto selection mode

◆ SocksAuthenticationMethods

The authentication methods supported by the SOCKS protocol

Enumerator
NoAuthentication 

No authentication

PlainText 

Authenticates user with a user name and password. SOCKS5 server only

◆ SocksVersion

enum Aspose::Email::Clients::SocksVersion : uint8_t
strong

Versions of the SOCKS protocol

Enumerator
SocksV4 

SOCKS4 and SOCKS4a version SOCKS4a extends the SOCKS4 protocol to allow a client to specify a destination domain name rather than an IPv4 address; this is useful when the client itself cannot resolve the destination host's domain name to an IP address.

SocksV5 

SOCKS5 version The SOCKS5 protocol is defined in RFC 1928. It is an extension of the SOCKS4 protocol; it offers more choices for authentication, and adds support for IPv6 and UDP, the latter of which can be used for DNS lookups.

◆ TokenType

Defines OAuth token types

Enumerator
AccessToken 

Access token grants access to an API.

RefreshToken 

Refresh token allows to obtain new access tokens.

Function Documentation

◆ DECLARE_ENUM_OPERATORS() [1/4]

Aspose::Email::Clients::DECLARE_ENUM_OPERATORS ( Aspose::Email::Clients::HttpAuthenticationMethods  )

◆ DECLARE_ENUM_OPERATORS() [2/4]

Aspose::Email::Clients::DECLARE_ENUM_OPERATORS ( Aspose::Email::Clients::SocksAuthenticationMethods  )

◆ DECLARE_ENUM_OPERATORS() [3/4]

Aspose::Email::Clients::DECLARE_ENUM_OPERATORS ( Aspose::Email::Clients::CompressionType  )

◆ DECLARE_ENUM_OPERATORS() [4/4]

Aspose::Email::Clients::DECLARE_ENUM_OPERATORS ( Aspose::Email::Clients::ConnectionState  )