Support might request an SMTP protocol log to help determine the cause of an issue with Mail
To set SMTP protocol logging, follow the instructions below:
In the log4net.config file in the Mail connector directory, change the following
<logger name="CMN.SmtpProtocol.logging" additivity="false">
<!-- Set to INFO to receive SMTP traffic -->
<level value="OFF" />
level value should be changed to INFO
A few lines lower there are a few fields that have to be uncommented so they append to the logs.
The two we are concerned with are:
<!-- Sends SMTP traffic to the SMTP log file. -->
<!-- <appender-ref ref="SmtpFileAppender" /> -->
<!-- Sends SMTP traffic to the log file. -->
<!-- <appender-ref ref="LogFileAppender" /> -->
If you would like the logs to go to a separate SMTP log uncomment the SMTPFILEAPPENDER section, if you would want it in the same logs as everything else, uncomment the other one instead. (remove <!-- and --> leave everything in between.