On Mon, Jul 07, 2008 at 09:17:41PM +0200,
 C.Nobs <[EMAIL PROTECTED]> wrote 
 a message of 78 lines which said:

> >>> p =
> >>> subprocess.Popen(['msmtp','-t'],stdin=subprocess.PIPE,stdout=subprocess.PIPE)
> >>> p.stdin.writelines(['To: [EMAIL PROTECTED]', 'Subject: testing',
> >>> '', ''])

Why not using the standard Python module "smtplib"
<http://docs.python.org/lib/module-smtplib.html>?
This would make your
program independent of msmtp.

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
msmtp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/msmtp-users

Reply via email to