Updating Message-Id for root email
This commit is contained in:
parent
1ca559db69
commit
349cb119a2
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ def SendRootMessageGDBTesters (branch, change):
|
||||||
mail['Subject'] = sbj
|
mail['Subject'] = sbj
|
||||||
mail['From'] = GDB_MAIL_FROM
|
mail['From'] = GDB_MAIL_FROM
|
||||||
mail['To'] = GDB_MAIL_TO
|
mail['To'] = GDB_MAIL_TO
|
||||||
mail['Message-Id'] = "<%s@%s>" % (rev, socket.gethostname ())
|
mail['Message-Id'] = "<%s@gdb-build>" % rev
|
||||||
|
|
||||||
s = smtplib.SMTP ('localhost')
|
s = smtplib.SMTP ('localhost')
|
||||||
s.sendmail (GDB_MAIL_FROM, [ GDB_MAIL_TO ], mail.as_string ())
|
s.sendmail (GDB_MAIL_FROM, [ GDB_MAIL_TO ], mail.as_string ())
|
||||||
|
|
Loading…
Reference in a new issue