The following settings can be used with the Email Report Server/400 V1.34 or above to debug problems when sending reports via email. Once these settings are enabled, the MAILSPLF command will create a spool file called: RJSERSLOG after each report is sent. The log will  contain the entire SMTP mail session. You can check the log for errors. 
 
Sign on to the AS/400 and run the following commands
 
ADDLIBLE RJSERS
ERSDEBUG OPTION(*SET) DEBUGOPT(*YES)   ERSDBGPRT OPTION(*SET) DEBUGOPT(*YES)
Once these commands have been run you can manually or automatically attempt to email a report and the log report should be generated. Work with RJS Software Systems to analyze the error log if you need assistance interpreting the SMTP session log. 

Still have questions? We can help. Submit a case to Technical Support.

Last Modified On: December 10, 2016