From c8c23e61850302c960dcf1d4993787070ec0fe32 Mon Sep 17 00:00:00 2001 From: Hemna Date: Mon, 25 Oct 2021 11:12:29 -0400 Subject: [PATCH] Fixed email connecting to smtp server Fixed an issue with not passing config in the smtp_connect --- aprsd/plugins/email.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aprsd/plugins/email.py b/aprsd/plugins/email.py index ffd9c32..029be53 100644 --- a/aprsd/plugins/email.py +++ b/aprsd/plugins/email.py @@ -452,7 +452,7 @@ def send_email(config, to_addr, content): msg["Subject"] = subject msg["From"] = config["aprsd"]["email"]["smtp"]["login"] msg["To"] = to_addr - server = _smtp_connect() + server = _smtp_connect(config) if server: try: server.sendmail(