diff options
-rwxr-xr-x | jobs/JobBase.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jobs/JobBase.py b/jobs/JobBase.py index ac0b793..8763126 100755 --- a/jobs/JobBase.py +++ b/jobs/JobBase.py @@ -160,7 +160,7 @@ def sendEmail(config, subject, body, to=""): subject = "[" + config.get('general', 'servername') + "] " + subject + " " if config.getboolean('email', 'bustgmailthreading'): subject += str(random.random()) - message = """\From: %s\nTo: %s\nSubject: %s\n\n%s""" \ + message = """From: %s\nTo: %s\nSubject: %s\n\n%s""" \ % (FROM, ", ".join(to), subject, body) server = smtplib.SMTP(config.get('email', 'smtpserver'), config.get('email', 'smtpport')) |