Commit 03a6fa2f authored by Jelle van der Waa's avatar Jelle van der Waa 🚧 Committed by Lukas Fleischer
Browse files

Call sendmail with to, not recipient

After f7a57c82

 (Localize notification emails, 2018-05-17), 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'.

Signed-off-by: Lukas Fleischer's avatarLukas Fleischer <>
parent 169607f1
......@@ -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