projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e2e88f
)
Make elog mail module always set the 'From' header for rfc2822 compliance. This...
author
Zac Medico
<zmedico@gentoo.org>
Wed, 21 Jun 2006 01:31:54 +0000
(
01:31
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 21 Jun 2006 01:31:54 +0000
(
01:31
-0000)
svn path=/main/branches/2.1/; revision=3552
pym/elog_modules/mod_mail.py
patch
|
blob
|
history
diff --git
a/pym/elog_modules/mod_mail.py
b/pym/elog_modules/mod_mail.py
index 68771ba516b90068c6680dc741a9ec9a0e38816d..cc67015f7ca761449e47322dd0033b4f034651c7 100644
(file)
--- a/
pym/elog_modules/mod_mail.py
+++ b/
pym/elog_modules/mod_mail.py
@@
-37,6
+37,7
@@
def process(mysettings, cpv, logentries, fulltext):
mymessage.set_unixfrom(myfrom)
mymessage.set_payload(fulltext)
mymessage["To"] = myrecipient
+ mymessage["From"] = myfrom
mysubject = mysettings["PORTAGE_ELOG_MAILSUBJECT"]
mysubject = mysubject.replace("${PACKAGE}", cpv)