Changeset 1718 for trunk/packages/invirt-web/code
- Timestamp:
- Nov 18, 2008, 12:07:35 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-web/code/main.py
r1707 r1718 646 646 %s 647 647 """ % (to, config.web.hostname, subject, body) 648 p = subprocess.Popen(['/usr/sbin/sendmail', to], stdin=subprocess.PIPE) 648 p = subprocess.Popen(['/usr/sbin/sendmail', '-f', to, to], 649 stdin=subprocess.PIPE) 649 650 p.stdin.write(mail) 650 651 p.stdin.close()
Note: See TracChangeset
for help on using the changeset viewer.