Re: Attempting to use popen with mailx

2005-09-01 Thread Steve Holden
[EMAIL PROTECTED] wrote: > I am trying to drive mailx using popen. > > Here is what I am trying to do: > > a=popen('mailx -s "test" [EMAIL PROTECTED]','w') > print a>>, "This is a test" > print a>>, "." > a.flush() > > The email never sends, and I have to kill the > processes. I am new to pytho

Attempting to use popen with mailx

2005-08-31 Thread caseydemail-python
I am trying to drive mailx using popen. Here is what I am trying to do: a=popen('mailx -s "test" [EMAIL PROTECTED]','w') print a>>, "This is a test" print a>>, "." a.flush() The email never sends, and I have to kill the processes. I am new to python, so I am sure I am doing something wrong. Ca