Return the current state of the client session. This property has been deprecated and should no longer be used in new applications.
Return the current state of the client session.
This property has been deprecated and should no longer be used in new applications.
object.State
The State property returns the state of the client. The possible values returned by this property are:
Value Description smtpStatusUnused No connection has been established smtpStatusIdle The client is current idle and not sending or receiving data smtpStatusConnect The client is establishing a connection with the server smtpStatusRead The client is reading data from the server smtpStatusWrite The client is writing data to the server smtpStatusDisconnect The client is disconnecting from the server
Integer (Int32)
Connect Method Disconnect Method IsConnected Property IsWritable Property
Copyright © 2026 Catalyst Development Corporation. All rights reserved.