SocketTools .NET Edition

SmtpClient.SmtpStatus Enumeration

Specifies the status values that may be returned by the SmtpClient class.

[Visual Basic]
Public Enum SmtpClient.SmtpStatus
[C#]
public enum SmtpClient.SmtpStatus

Remarks

The SmtpClient class uses the SmtpStatus enumeration to identify the current status of the client.

Members

Member Name Description
statusUnused A client session has not been created. Attempts to perform any network operations, such as sending or receiving data, will generate an error.
statusIdle A client session has been created, but is not currently in use. A blocking socket operation can be executed at this point.
statusConnect The client is in the process of establishing a connection with a remote host.
statusRead The client is in the process of receiving data from a remote host.
statusWrite The client is in the process of sending data to a remote host.
statusDisconnect The client session is being closed and subsequent attempts to access the client will result in an error.

Requirements

Namespace: SocketTools

Assembly: SocketTools.SmtpClient (in SocketTools.SmtpClient.dll)

See Also

SocketTools Namespace