aboutsummaryrefslogtreecommitdiff
path: root/pym
diff options
context:
space:
mode:
authorMarius Mauch <genone@gentoo.org>2005-03-09 06:55:30 +0000
committerMarius Mauch <genone@gentoo.org>2005-03-09 06:55:30 +0000
commit6f69258c9d60dff4f4be2a5ab72912e8f82a0f54 (patch)
tree739b46b48a40e39d409ccf199d05c0bf3f14b79c /pym
parentfixing portageq in ebd (diff)
downloadportage-cvs-6f69258c9d60dff4f4be2a5ab72912e8f82a0f54.tar.gz
portage-cvs-6f69258c9d60dff4f4be2a5ab72912e8f82a0f54.tar.bz2
portage-cvs-6f69258c9d60dff4f4be2a5ab72912e8f82a0f54.zip
add 'To' header to mails
Diffstat (limited to 'pym')
-rw-r--r--pym/elog_modules/mod_mail.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pym/elog_modules/mod_mail.py b/pym/elog_modules/mod_mail.py
index 88ac856..ed9d8cc 100644
--- a/pym/elog_modules/mod_mail.py
+++ b/pym/elog_modules/mod_mail.py
@@ -35,6 +35,7 @@ def process(mysettings, cpv, logentries, fulltext):
mymessage = email.Message.Message()
mymessage.set_unixfrom("portage")
mymessage.set_payload(fulltext)
+ mymessage["To"] = myrecipient
mymessage["Subject"] = "[portage] Ebuild log for %s" % cpv
if int(mymailport) > 100000: