mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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>
This commit is contained in:
parent
169607f153
commit
03a6fa2f7e
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue