From b4c2b21547554a2af18689f7d6aa90ebb6c43636 Mon Sep 17 00:00:00 2001 From: jandr Date: Mon, 25 Aug 2025 19:51:10 +0200 Subject: [PATCH] Sorted usage of TLS on SMTP (#613) Added a line for the `email_results` function to take into account the smtp_ssl setting. --- parsedmarc/cli.py | 1 + 1 file changed, 1 insertion(+) diff --git a/parsedmarc/cli.py b/parsedmarc/cli.py index dbf0acd..53276c1 100644 --- a/parsedmarc/cli.py +++ b/parsedmarc/cli.py @@ -1586,6 +1586,7 @@ def _main(): username=opts.smtp_user, password=opts.smtp_password, subject=opts.smtp_subject, + require_encryption=opts.smtp_ssl, ) except Exception: logger.exception("Failed to email results")