Verified Commit 3e9f32c0 authored by Jelle van der Waa's avatar Jelle van der Waa 🚧
Browse files

Call sendmail with to not recipient

After the refactor f7a57c82 the server.sendmail line was not updated to
now send the to the email address but instead sends to (email, 'en') and
as sendmail accepts an iterable an email is also send to 'en'.
parent 853ed9a9
......@@ -116,7 +116,7 @@ class Notification:
server.login(user, passwd)
server.sendmail(sender, recipient, msg.as_bytes())
server.sendmail(sender, to, msg.as_bytes())
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment