Sending mail with attachment...

Merrigan charl.loubser at
Sat May 13 10:22:51 CEST 2006


I have now eventually finished my newbie-backup script and I'm very
proud of the way it functions...

Anyways, I am looking for an easy way to use smtplib to send an email
with the output log of the script to multiple accounts. I need to use
it with a smtp server, and cannot pipe it directly to sendmail.

I have tried about 50 different ways that I have googled for in the
last 6 hours, but none of them work, I keep on getting errors.

The script runs on a Linux system.

Thanks for any help.

More information about the Python-list mailing list