From f3d6530cc3ca754d047d411463592f8ce6577397 Mon Sep 17 00:00:00 2001 From: Dita Aji Pratama Date: Fri, 19 May 2023 19:48:34 +0700 Subject: [PATCH] Fixing error on 'email' variable --- core/mailme.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/mailme.py b/core/mailme.py index 2e83e57..452424e 100644 --- a/core/mailme.py +++ b/core/mailme.py @@ -19,5 +19,5 @@ def smtp(config): smtp_server.ehlo() smtp_server.starttls() smtp_server.login( config['login']['email'], config['login']['password'] ) - smtp_server.sendmail('&&&&&&', email, msg.as_string() ) + smtp_server.sendmail('&&&&&&', config['to'], msg.as_string() ) smtp_server.quit()