Add '<' and '>' on e-mail headers
This commit is contained in:
parent
f0b375638e
commit
c40ad5bd98
1 changed files with 2 additions and 2 deletions
|
@ -268,7 +268,7 @@ def SendRootBreakageMessage (builder, branch, change):
|
||||||
mail['Subject'] = sbj
|
mail['Subject'] = sbj
|
||||||
mail['From'] = 'gdb-buildbot@sergiodj.net'
|
mail['From'] = 'gdb-buildbot@sergiodj.net'
|
||||||
mail['To'] = to
|
mail['To'] = to
|
||||||
mail['Message-Id'] = message_id
|
mail['Message-Id'] = '<' + message_id + '>'
|
||||||
|
|
||||||
s = smtplib.SMTP ('localhost')
|
s = smtplib.SMTP ('localhost')
|
||||||
s.sendmail (GDB_MAIL_FROM, to_list, mail.as_string ())
|
s.sendmail (GDB_MAIL_FROM, to_list, mail.as_string ())
|
||||||
|
@ -321,7 +321,7 @@ subsequent commits are made after X, by different people."""
|
||||||
mail['Subject'] = sbj
|
mail['Subject'] = sbj
|
||||||
mail['From'] = 'gdb-buildbot@sergiodj.net'
|
mail['From'] = 'gdb-buildbot@sergiodj.net'
|
||||||
mail['To'] = to
|
mail['To'] = to
|
||||||
mail['In-Reply-To'] = root_message_id
|
mail['In-Reply-To'] = '<' + root_message_id + '>'
|
||||||
|
|
||||||
s = smtplib.SMTP ('localhost')
|
s = smtplib.SMTP ('localhost')
|
||||||
s.sendmail (GDB_MAIL_FROM, to_list, mail.as_string ())
|
s.sendmail (GDB_MAIL_FROM, to_list, mail.as_string ())
|
||||||
|
|
Loading…
Reference in a new issue