msg="From: %s\nTo: %s\n" % (cval['from_field'], req_email)
if cc_list:
msg=msg+"Cc: %s\n" % ", ".join(cc_list)
- msg=msg+"""X-PLD-Builder: %s
-References: <%s@pld.src.builder>
-In-Reply-To: <%s@pld.src.builder>
+ msg=msg+"""X-TLD-Builder: %s
+References: <%s@tld.src.builder>
+In-Reply-To: <%s@tld.src.builder>
Subject: %s
-""" % (cval['xpldbuilder'], req_bid, req_bid, m_subject)
+""" % (cval['xtldbuilder'], req_bid, req_bid, m_subject)
sm = os.popen("/usr/sbin/sendmail -t", "w")
msg="From: %s\nTo: %s\n" % (cval['from_field'], req_email)
if cc_list:
msg=msg+"Cc: %s\n" % ", ".join(cc_list)
- msg=msg+"""X-PLD-Builder: %s
-References: <%s@pld.src.builder>
-In-Reply-To: <%s@pld.src.builder>
+ msg=msg+"""X-TLD-Builder: %s
+References: <%s@tld.src.builder>
+In-Reply-To: <%s@tld.src.builder>
Subject: %s
-""" % (cval['xpldbuilder'], req_bid, req_bid, m_subject)
+""" % (cval['xtldbuilder'], req_bid, req_bid, m_subject)
sm = os.popen("/usr/sbin/sendmail -t", "w")
def __set_std_headers(self):
self.headers["Date"] = time.strftime("%a, %d %b %Y %H:%M:%S +0000", time.gmtime())
- self.headers["Message-ID"] = "<pld-builder.%f.%d@%s>" \
+ self.headers["Message-ID"] = "<tld-builder.%f.%d@%s>" \
% (time.time(), os.getpid(), os.uname()[1])
self.headers["From"] = cval['from_field']
- self.headers["X-PLD-Builder"] = cval['xpldbuilder']
+ self.headers["X-TLD-Builder"] = cval['xtldbuilder']
def __write_to(self, f):
for k, v in self.headers.items():