From 6a9e3f0f5d1e877f758e1610839aa3442b1eda42 Mon Sep 17 00:00:00 2001 From: Yabk Date: Wed, 11 Mar 2020 13:10:35 +0100 Subject: [PATCH] Use SMTP port from config when sending the report --- parsedmarc/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parsedmarc/cli.py b/parsedmarc/cli.py index f6adf469..b63418cb 100644 --- a/parsedmarc/cli.py +++ b/parsedmarc/cli.py @@ -619,7 +619,7 @@ def _main(): if opts.smtp_skip_certificate_verification: verify = False email_results(results, opts.smtp_host, opts.smtp_from, - opts.smtp_to, verify=verify, + opts.smtp_to, port=opts.smtp_port, verify=verify, username=opts.smtp_user, password=opts.smtp_password, subject=opts.smtp_subject)