SMTPTrace
Use this parameter to control the tracing of email details. The system writes the log information to SMTP<DD_MM>.log in %PS_SERVDIR%/LOGS, by default, or the custom value set for Log Directory. For example:
PS_CFG_HOME\APPSERV\domain\LOGS\SMTP6_27.log
LogFence should be set to 5.
See LogFence
-
Enter 0 to disable SMTP tracing.
-
Enter 1 to enable the tracing of email details to the log file.
With this option the log file includes extensive details in the log file.
-
Enter 2 to enable the tracing of summary information to the log file.
With this option the log file includes summary information for each email in this format:
<Date_Time> Email sent with return code [<Return Code>] From: [<Sender>] To:[<Recipient>] Sender:[<Sender>] CC:[<CC Field>] BCC:[<BBC Field>] Subject:[<subject_text>]For example:
Wed Apr 29 18:48:46 CDT 2020 Email sent with return code [NOT DELIVERED] From:[test@example.com] To:[test9@example.com] Sender:[test@example.com] CC:[null] BCC:[null] Subject:[This is a test]For a list of the Return Codes, see PeopleCode API Reference: Send method: SMTPSession class