Aspose::Email::Clients::Base Namespace Reference

Enumerations

enum  EncryptionProtocols {
  EncryptionProtocols::NotSpecified = 0, EncryptionProtocols::Ssl2 = 12, EncryptionProtocols::Ssl3 = 48, EncryptionProtocols::Tls = 192,
  EncryptionProtocols::Tls11 = 768, EncryptionProtocols::Tls12 = 3072, EncryptionProtocols::Tls13 = 12288
}
 Defines the possible versions of encryption protocols. More...
 
enum  WebExceptionStatus {
  WebExceptionStatus::Success = 0, WebExceptionStatus::NameResolutionFailure = 1, WebExceptionStatus::ConnectFailure = 2, WebExceptionStatus::ReceiveFailure = 3,
  WebExceptionStatus::SendFailure = 4, WebExceptionStatus::PipelineFailure = 5, WebExceptionStatus::RequestCanceled = 6, WebExceptionStatus::ProtocolError = 7,
  WebExceptionStatus::ConnectionClosed = 8, WebExceptionStatus::TrustFailure = 9, WebExceptionStatus::SecureChannelFailure = 10, WebExceptionStatus::ServerProtocolViolation = 11,
  WebExceptionStatus::KeepAliveFailure = 12, WebExceptionStatus::Pending = 13, WebExceptionStatus::Timeout = 14, WebExceptionStatus::ProxyNameResolutionFailure = 15,
  WebExceptionStatus::UnknownError = 16, WebExceptionStatus::MessageLengthLimitExceeded = 17, WebExceptionStatus::CacheEntryNotFound = 18, WebExceptionStatus::RequestProhibitedByCachePolicy = 19,
  WebExceptionStatus::RequestProhibitedByProxy = 20
}
 

Enumeration Type Documentation

◆ EncryptionProtocols

Defines the possible versions of encryption protocols.

Enumerator
NotSpecified 

Not specified Please note, this value is not similar to SslProtocols.None value and can't be used to automatically select an encryption protocol. Also JFYI, SslProtocols.None value leads to problem with connection to mail servers and can't be used in email clients.

Ssl2 

Ssl 2

Deprecated:
Please note, this version of encryption protocol was obsolete in 2011.
Ssl3 

Ssl 3

Deprecated:
Please note, this version of encryption protocol was obsolete in 2015.
Tls 

TLS 1.0

Tls11 

TLS 1.1

Tls12 

TLS 1.2

Tls13 

TLS 1.3

◆ WebExceptionStatus

Enumerator
Success 
NameResolutionFailure 
ConnectFailure 
ReceiveFailure 
SendFailure 
PipelineFailure 
RequestCanceled 
ProtocolError 
ConnectionClosed 
TrustFailure 
SecureChannelFailure 
ServerProtocolViolation 
KeepAliveFailure 
Pending 
Timeout 
ProxyNameResolutionFailure 
UnknownError 
MessageLengthLimitExceeded 
CacheEntryNotFound 
RequestProhibitedByCachePolicy 
RequestProhibitedByProxy