Defines status codes for the SmtpException class.

Namespace:  Rebex.Net
Assembly:  Rebex.Smtp (in Rebex.Smtp.dll)

Syntax

Visual Basic
Public Enumeration SmtpExceptionStatus
C#
public enum SmtpExceptionStatus

Members

Member nameDescription
ConnectFailure
The remote service point could not be contacted at the transport level.
ConnectionClosed
The connection was prematurely closed.
SocketError
The error at transport level occurred.
NameResolutionFailure
The name resolver service could not resolve the host name.
Pending
An operation is pending.
ProtocolError
The response received from the server was complete but indicated a protocol-level error. For example, an SMTP protocol error such as '550 Unable to relay' would use this status.
ProxyNameResolutionFailure
The name resolver service could not resolve the proxy host name.
ReceiveFailure
A complete response was not received from the remote server due to an error at the transport level.
OperationAborted
The operation was aborted by a call to the Abort()()()() method.
UnclassifiableError
An unclassifiable error occurred. This is the default value for Status.
SendFailure
A complete request could not be sent to the remote server due to an error at the transport level.
ServerProtocolViolation
The server response was not a valid SMTP response.
Timeout
No response was received during the time-out period for a request.
AsyncError
General exception in asynchronous call.
OperationFailure
The requested operation could not be completed.

Version Information

.NET Framework

Supported in: 4.8, 4.7.x, 4.6.x, 4.5.x, 4.0, 3.5 SP1

.NET Standard 2.0

Supported in: .NET Core 3.1, 3.0, 2.1; Xamarin.Android 9.1 (or higher); Xamarin.iOS 10.3 (or higher)

See Also