support multiple recipients
This commit is contained in:
parent
10761e740e
commit
825fd82254
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user