AXSoft SMTPSock - StatusConstants

Description

The status constants are part of the enum memeber axsSMTPSock_Status

 
Type

Enumeration (READ ONLY)

 
Syntax

object.axsSMTPSock_Status

Constant Value Numerical Value Description
axsSMTPSockStatus_Closed 0 Closed connection (Default)
axsSMTPSockStatus_Closing 1 Closing an open connection
axsSMTPSockStatus_Connecting 2 Connecting to a server
axsSMTPSockStatus_Connected 3 Connected (open)
 
Return Type

None

 
Remarks

These values are returned in the StatusChange event. The axsSMTPSockStatus_Closing is returned ONLY when the Disconnect method is used. If the disconnect is due to an error, then the axsSMTPSockStatus_Closing value will not be sent to the StatusChange event. Also the axsSMTPSockStatus_Connected value will always occur with the Connected event and the axsSMTPSockStatus_Closed will always occur with the Disconnected event.