projects
/
rss2email.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdf6702
)
Add use of `sender' parameter in `sendmail_send'.
author
Dmitry Bogatov
<KAction@gnu.org>
Wed, 23 Jan 2013 20:36:02 +0000
(
00:36
+0400)
committer
W. Trevor King
<wking@tremily.us>
Wed, 23 Jan 2013 22:19:33 +0000
(17:19 -0500)
Signed-off-by: Dmitry Bogatov <KAction@gnu.org>
rss2email/email.py
patch
|
blob
|
history
diff --git
a/rss2email/email.py
b/rss2email/email.py
index 005b68a0fc43a9ab233d91b6993fafd05f3941ec..b8ccdd446c1af54a3c9b008d5a9fe16568e1000f 100644
(file)
--- a/
rss2email/email.py
+++ b/
rss2email/email.py
@@
-160,7
+160,7
@@
def sendmail_send(sender, recipient, message, config=None, section='DEFAULT'):
'sending message to {} via /usr/sbin/sendmail'.format(recipient))
try:
p = _subprocess.Popen(
- ['/usr/sbin/sendmail', recipient],
+ ['/usr/sbin/sendmail',
'-f', sender,
recipient],
stdin=_subprocess.PIPE, stdout=_subprocess.PIPE,
stderr=_subprocess.PIPE)
stdout,stderr = p.communicate(message.as_string()