support multiple recipients

This commit is contained in:
jb-alvarado 2021-01-04 11:28:16 +01:00
parent 10761e740e
commit 825fd82254

View File

@ -395,7 +395,8 @@ class Mailer:
login = None login = None
if login is not None: if login is not None:
server.sendmail(_mail.s_addr, _mail.recip, text) server.sendmail(_mail.s_addr,
re.split(', |; |,|;', _mail.recip), text)
server.quit() server.quit()
def check_if_new(self, msg): def check_if_new(self, msg):