review: Send mail using msmtp

(imported from commit 7cf60baeb846df9a8c15500a6d14713aec45fc8c)
This commit is contained in:
Keegan McAllister 2012-10-30 14:15:48 -04:00
parent 5788c4c280
commit 8c238f252c
1 changed files with 1 additions and 1 deletions

View File

@ -292,7 +292,7 @@ def main(args):
print >>sys.stdout
print >>sys.stdout, msg.get_payload(decode=True),
else:
subprocess.Popen(['/usr/sbin/sendmail', '-bm', '-t'],
subprocess.Popen(['msmtp', '-t'],
stdin=subprocess.PIPE).communicate(msg.as_string())
if __name__ == '__main__':