Have you tried the "email" module?
http://docs.python.org/lib/module-email.html
On 4/16/07, Kharbush, Alex [ITCSV] <[EMAIL PROTECTED]> wrote:
I want to use the UNIX Mail program with python
I need multiple entries with the os.system(cmd)line
I will need something like this
#output to unix
Mail [EMAIL PROTECTED] -f [EMAIL PROTECTED]
Subject : hello alex
#message part
how is it going
#the end of mail
.
When I write os.system("Mail [EMAIL PROTECTED]") my program will send email
to where i want it to go
MY PROBLEM is that i need to enter multiple lines of input into unix.
os.system() takes only one argument
thanks for the time
_______________________________________________
Tutor maillist - [email protected]
http://mail.python.org/mailman/listinfo/tutor
_______________________________________________
Tutor maillist - [email protected]
http://mail.python.org/mailman/listinfo/tutor