diff options
author | Jelle van der Waa <jelle@vdwaa.nl> | 2020-08-22 22:08:43 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@archlinux.org> | 2020-08-26 14:32:32 +0200 |
commit | 03a6fa2f7ec927625c64f980c3408ed395a9dcfc (patch) | |
tree | 99df3c7272ed951add39ef889fae2562d575db45 | |
parent | 169607f153f1dcb7bb8e7ebea1c53bac93d376b3 (diff) | |
download | aur-03a6fa2f7ec927625c64f980c3408ed395a9dcfc.tar.gz aur-03a6fa2f7ec927625c64f980c3408ed395a9dcfc.tar.xz |
Call sendmail with to, not recipient
After f7a57c8 (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 <lfleischer@archlinux.org>
-rwxr-xr-x | aurweb/scripts/notify.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/aurweb/scripts/notify.py b/aurweb/scripts/notify.py index 5b18a476..899f8acc 100755 --- a/aurweb/scripts/notify.py +++ b/aurweb/scripts/notify.py @@ -116,7 +116,7 @@ class Notification: server.login(user, passwd) server.set_debuglevel(0) - server.sendmail(sender, recipient, msg.as_bytes()) + server.sendmail(sender, to, msg.as_bytes()) server.quit() |