def send_mail(subject, body, smtp_server, user, password, from_addr, to_addrs):
logging.info('<STR_LIT>' + subject + '<STR_LIT:)>')<EOL>content = string.join((<EOL>"<STR_LIT>" % from_addr,<EOL>"<STR_LIT>" % '<STR_LIT:U+002C>'.join(to_addrs),  <EOL>"<STR_LIT>" % subject,<EOL>"<STR_LIT>",<EOL>body),<EOL>"<STR_LIT:\r\n>")<EOL>server = smtplib.SMTP_SSL(smtp_server)<EOL>server.login(user, password)<EOL>server.sendmail(from_addr, to_addrs, content)<EOL>server.quit()<EOL>
Sends a run status mail with the traceback to a specified E-Mail address if a run crashes.