SMTPErrorMessage
The SMTPErrorMessage method
translates an error code into human readable text.
Syntax
SMTPErrorMessage(errNum)
Parameters
-
errNum
-
The error code.
Return Values
A string which tells you what the meaning of the error code is.
Some possible values:
-
0: success!
-
211: System status, or system help reply
-
214: Help message
-
220: Service ready
-
221: Service closing transmission channel
-
250: Requested mail action okay, completed
-
251: User not local; will forward to
-
252: Couldn't verify email, deliveries may be attempted anyway
-
354: Start mail input; end with .
-
421: Service not available, closing transmission channel [This may be a reply to any command if the service knows it must shut down]
-
450: Requested mail action not taken: mailbox unavailable [E.g., mailbox busy]
-
451: Requested action aborted: local error in processing
-
452: Requested action not taken: insufficient system storage
-
500: Syntax error, command unrecognized [This may include errors such as command line too long]
-
501: Syntax error in parameters or argument
-
502: Command not implemented
-
503: Bad sequence of command
-
504: Command parameter not implemented
-
550: Requested action not taken: mailbox unavailable [E.g., mailbox not found, no access]
-
551: User not local; please try
-
552: Requested mail action aborted: exceeded storage allocatio
-
553: Requested action not taken: mailbox name not allowed [E.g., mailbox syntax incorrect]
-
554: Transaction failed
- 789: FLICKS_PRODUCT_EXPIRED
Also possible are WSA errors, such as WSAETIMEDOUT, which indicate there is a
particular kind of transmission or TCP/IP error.
Example
See main sample.