Skip to content

Commit f62fc64

Browse files
committed
Output the text sent and received from the SMTP exchange
1 parent bdd9785 commit f62fc64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

trustymail/trustymail.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def starttls_scan(domain, smtp_timeout, smtp_localhost, smtp_ports, smtp_cache):
155155
# The following line is useful when debugging why an
156156
# SMTP connection fails. It prints out all the
157157
# traffic sent to and from the SMTP server.
158-
# smtp_connection.set_debuglevel(1)
158+
smtp_connection.set_debuglevel(1)
159159
logging.debug('Testing ' + server_and_port + ' for STARTTLS support')
160160
# Try to connect. This will tell us if something is
161161
# listening.

0 commit comments

Comments
 (0)