|
|
@ -109,7 +109,7 @@ def send_data(config: ConfigParser, email_content: str, messages: list): |
|
|
|
msg["Subject"] = "Speedtest report" |
|
|
|
msg["Subject"] = "Speedtest report" |
|
|
|
msg["From"] = from_addr |
|
|
|
msg["From"] = from_addr |
|
|
|
msg["To"] = config.get(SMTP_SENDTO) |
|
|
|
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()) |
|
|
|
config.get(SMTP_SENDTO), msg.as_string()) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|