Debugging WebDocs DOCSEND Mail Sending Problems - Support

Debugging WebDocs DOCSEND Mail Sending Problems

From Support

Jump to: navigation, search

The following settings can be used to debug problems when sending email. Once these settings are enabled, the mail commands will create a spool file named RJSSMTPLOG after each report is sent. The log will contain the entire SMTP mail session. You can check the log for errors.

The spooled file might be named RJSIMGLOG with user data *SMTPLOG* instead of
the name given above. There is also a physical file named QTEMP/SMTPSTDOUT that
contains the entire SMTP email session.

Sign on to the AS/400 and run the following commands

ADDLIBLE RJSIMAGE

DOCDBG OPTION(*SET) DEBUGOPT(*YES)

DOCDBGPRT OPTION(*SET) DEBUGOPT(*YES)

Once these commands have been run you can manually or automatically attempt to email a document with DOCSEND and the log report spool file should be generated. Work with RJS Software Systems to analyze the error log if you need assistance interpreting the SMTP session log.

Personal tools