Question: SMTP send email failed with return code ... when sending "..."
Answer: This error message may appear in two locations. It may be displayed on the Monitor page:
EMAIL FAILURE - SMTP send email failed with return code 5 when sending "03:34 - ALERT #1 - Database unresponsive - benchmark_test_on_BRECK-PC"
and it may also recorded as a exception displayed on the Foxhound Options page:
2 2010-03-10 03:34:38.484 Full Build 3642a 1000000083 223b9(223eh3) Info: SMTP send email failed with return code 5 when sending "03:34 - ALERT #1 - Database unresponsive - benchmark_test_on_BRECK-PC"
Here's the list of return codes:
2 xp_startsmtp failed
3 xp_stopsmtp failed
5 xp_sendmail failed
12 Attachment not found
15 Insufficient memory
20 Unknown recipient
25 Mail session failed to start
100 Socket error.
101 Socket timeout.
102 Unable to resolve the SMTP server hostname.
103 Unable to connect to the SMTP server.
104 Server error; response not understood. For example, the message is poorly formatted, or the server is not SMTP.
105 A TLS error occurred
421 domain service not available, closing transmission channel.
450 Requested mail action not taken: mailbox unavailable.
451 Requested action not taken: local error in processing.
452 Requested action not taken: insufficient system storage.
500 Syntax error, command unrecognized. (This may include errors such as a command that is too long).
501 Syntax error in parameters or arguments.
502 Command not implemented.
503 Bad sequence of commands.
504 Command parameter not implemented.
550 Requested action not taken: mailbox unavailable. For example, the mailbox is not found, there is no access, or no relay is allowed.
551 User not local; please try forward-path
552 Request mail action aborted: exceeded storage allocation.
553 Requested action not taken: mailbox name not allowed. For example, the mailbox syntax is incorrect.
554 Transaction failed.