The SMTP server response is not written to the SAS log in SAS® 9.4M8 (TS1M8) and later on z/OS when you use TLS to communicate with the SMTP server


Beginning with SAS 9.4M8 on z/OS, when you configure the FILENAME EMAIL access method to use SSL/TLS to communicate with an SMTP server, a failing negative response returned by the SMTP server is not written to the SASlog.

The following is a typical failing response from the SMTP server that would normally occur in the SAS log:

ERROR: Email: <message from SMTP server>.

Workaround

To view the SMTP server’s response when using SSL/TLS, you must add the DEBUG parameter to the FILENAME EMAIL statement.