From: Michael Tremer Date: Fri, 8 May 2009 12:22:39 +0000 (+0000) Subject: Make it possible to send mails to more than one recipient. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6bbd0e8a443874e17f8b074f391b54fb5de56f0e;p=ipfire-3.x.git Make it possible to send mails to more than one recipient. Seprated by comma. --- diff --git a/tools/sendEmail b/tools/sendEmail index a0436a7a7..0499deaf0 100755 --- a/tools/sendEmail +++ b/tools/sendEmail @@ -56,5 +56,5 @@ server = smtplib.SMTP(server) if auth: server.login(user, password) -server.sendmail(fromaddr, toaddrs, msg.as_string()) +server.sendmail(fromaddr, toaddrs.split(", "), msg.as_string()) server.quit()