Error return codes from RJS Native Email Products
From Support
The return codes listed in this document relate to the SMTP/400, Email Report Server/400 and Mail Blast/400 products and potential error return codes that can occur in the job log.
Error 00001
Unable to create SMTP signal handler. This error can also occur if the native AS/400 report converter cannot open an IFS output file when converting a report. If you have this problem, you either have an IFS security problem or you may need to talk to RJS Software Systems.
Error 00002
SMTP mail host could not be found. Check to make sure you're using a valid SMTP server host name from the AS/400 host table or your DNS server. Do not use an IP address for the SMTP host name. This problem can also be caused if your SMTP server is not available. If you cannot PING your SMTP server host name, you will need to talk to your network support people to make sure your SMTP server is operational.
Error 00003
Temporary message input IFS file could not be opened from the IFS. If you have this problem, you will need to talk to RJS Software Systems to determine the cause.
Error 00004
Temporary message input IFS file was zero bytes. If you have this problem, you will need to talk to RJS Software Systems to determine the cause.
Error 00005
Unable to open TCP/IP socket. If you have this problem, you will need to talk to RJS Software Systems to determine the cause.
Error 00006
Unable to connect to SMTP server. Check to make sure you're using a valid SMTP server host name from the AS/400 host table or your DNS server. Do not use an IP address for the SMTP host name. This problem can also be caused if your SMTP server is not available. If you cannot PING your SMTP server host name, you will need to talk to your network support people to make sure your SMTP server is operational.
Error 00007
Error writing HELO SMTP directive to SMTP server. It's possible you're not connecting to a valid SMTP server. If you have this problem, you will need to talk to your network support people to make sure your SMTP server is operational.
Error 00008
Error writing MAIL FROM directive to SMTP server. It's possible you're not connecting to a valid SMTP server, this SMTP server does not accept mail relaying or an invalid FROM email address was passed. Email addresses should not be passed with brackets (<>) around them. If you continue to have this problem after checking the FROM email address, you will need to talk to your network support people to determine if mail relaying is allowed for your SMTP server.
Error 00009
Error writing RCPT TO directive to SMTP server. It's possible you're not connecting to a valid SMTP server, this SMTP server does not accept mail relaying or an invalid TO email address was passed. Email addresses should not be passed with brackets (<>) around them. If you continue to have this problem after checking the TO email address, you will need to talk to your network support people to determine if mail relaying is allowed for your SMTP server.
Error 00010
Error occurred while writing email message DATA directive to SMTP server. You may have been abnormally disconnected from your SMTP server while sending an email message or you are not allowed to send email to this SMTP server. Try disconnecting and sending the email message again.
Error 00011
Error occurred while writing email message data to SMTP server. You may have been abnormally disconnected from your SMTP server while sending an email message or you are not allowed to send email to this SMTP server. Try disconnecting and sending the email message again.
Error 00012
Error occurred while writing end of email message data (.) directive to SMTP server. You may have been abnormally disconnected from your SMTP server while sending an email message or you are not allowed to send email to this SMTP server. Try disconnecting and sending the email message again.
Error 00013
Error occurred while writing email message QUIT directive to SMTP server. You may have been abnormally disconnected from your SMTP server while sending an email message or you are not allowed to send email to this SMTP server. Try disconnecting and sending the email message again.
Error 00017
Invalid response (not a 250) was received from your SMTP server after sending the HELO SMTP directive. It's possible you're not connecting to a valid SMTP server. If you have this problem, you will need to talk to your network support people to make sure your SMTP server is operational or RJS Software Systems to determine the cause.
Error 00018
Invalid response (not a 250) was received from your SMTP server after sending the MAIL FROM directive. It's possible you're not connecting to a valid SMTP server, this SMTP server does not accept mail relaying or an invalid FROM email address was passed. If you continue to have this problem after checking the FROM email address, you will need to talk to your network support people to determine if mail relaying is allowed for your SMTP server.
Error 00019
Invalid response (not a 250) was received from your SMTP server after sending the RCPT TO directive. It's possible you're not connecting to a valid SMTP server, this SMTP server does not accept mail relaying or an invalid TO email address was passed. If you continue to have this problem after checking the TO email address, you will need to talk to your network support people to determine if mail relaying is allowed for your SMTP server.
Error 00020
Message was not accepted for delivery by the SMTP server. You may have been abnormally disconnected from your SMTP server while sending an email message or you are not allowed to send email to this SMTP server. Try disconnecting and sending the email message again.
Error 00021
Authentication error when logging into SMTP server for authenticated SMTP. You may have been abnormally disconnected from your SMTP server while sending an email message or you are not allowed to send email to this SMTP server using SMTP authentication. Typically MS Exchange is the mail server being used if this error occurs.
Error 00022
Invalid response (not a 334) was received from your SMTP server after sending the AUTH LOGIN directive. It's possible you're not connecting to a valid SMTP server or this SMTP server does not accept authenticated connections. If you continue to have this problem, you will need to talk to your network support people to determine if authenticated SMTP is supported on your mail server. Typically MS Exchange is the mail server being used if this error occurs.
Error 00023
Authentication error when logging into SMTP server for authenticated SMTP. You may have been abnormally disconnected from your SMTP server while sending an email message or you are not allowed to send email to this SMTP server using SMTP authentication. Typically MS Exchange is the mail server being used if this error occurs.
Error 00024
Invalid response (not a 334) was received from your SMTP server after sending the USERID to the mail server. It's possible you're not connecting to a valid SMTP server or this SMTP server does not accept authenticated connections. Your SMTP user ID and password may also not be entered correctly. If you continue to have this problem, you will need to talk to your network support people to determine if authenticated SMTP is supported on your mail server. Typically MS Exchange is the mail server being used if this error occurs.
Error 00025
Authentication error when logging into SMTP server for authenticated SMTP. You may have been abnormally disconnected from your SMTP server while sending an email message or you are not allowed to send email to this SMTP server using SMTP authentication. Typically MS Exchange is the mail server being used if this error occurs.
Error 00026
Invalid response (not a 235) was received from your SMTP server after sending the PASSWORD to the mail server. It's possible you're not connecting to a valid SMTP server or this SMTP server does not accept authenticated connections. Your SMTP user ID and password may also not be entered correctly. If you continue to have this problem, you will need to talk to your network support people to determine if authenticated SMTP is supported on your mail server. Typically MS Exchange is the mail server being used if this error occurs.
Error 00098
SMTP timeout occurred. Most likely the SMTP API was unable to connect to the selected SMTP mail server.
