diff --git a/speedtest.py b/speedtest.py index 80beeb8..b90b3ee 100644 --- a/speedtest.py +++ b/speedtest.py @@ -109,7 +109,7 @@ def send_data(config: ConfigParser, email_content: str, messages: list): msg["Subject"] = "Speedtest report" msg["From"] = from_addr msg["To"] = config.get(SMTP_SENDTO) - client.sendmail(config.get(SMTP_LOGIN), + client.sendmail(config.get(SMTP_LOGIN), config.get(SMTP_SENDTO), msg.as_string())