AXSoft SMTPSock - ErrorConstants

Description

The status constants are part of the enum memeber axsSMTPSock_Error

Type

Enumeration (READ ONLY)

Syntax

object.axsSMTPSock_Error

Constant Value Numerical Value (neg.) Description
axsSMTPSockError_NoServerSpecified * -2147221503 No server specified
axsSMTPSockError_NoRecipientsSpecified * -2147221502 No recipients specified
axsSMTPSockError_NoSenderEmailSpecified * -2147221501 No sender email address specified
axsSMTPSockError_NotConnected * -2147221500 Not connected to a server
axsSMTPSockError_AlreadyConnected * -2147221499 Already connected to a server
axsSMTPSockError_InvalidResponse -2147221498 Invalid server response

* = Causes a runtime error

Return Type

None

Remarks

Note that all errors aside from the "Invalid Server Response" error (axsSMTPSockError_InvalidResponse) will cause a runtime error. The "Invalid Server Response" occurs in the Error event. The listed errors are just custom errors defined by the control. Any other runtime error (such as file access error) can also occur.