Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sending e-mail from python

Status
Not open for further replies.

linuxlastslonger

Programmer
Feb 17, 2003
9
hello all! i'm in charge of developing a backup program for our server product, and one of the fuctions is to e-mail the user and our offices if any problems occur. anyways, i cannot figure out how to send an e-mail from within python. i've tried using os.spawnvpe, but it doesn't work correctly. i'm trying to do something like:

mail user@userdomain < someoutput.out

but the spawnvpe doesn't want to work correctly.

any ideas??
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top