Sending MIME-Attachments in Python

Ralf Hildebrandt hildeb at www.stahl.bau.tu-bs.de
Tue Feb 29 07:36:50 EST 2000


I want to create an email consisting of a single attachment (which I then
need to pipe to sendmail for sending).     

Right now I simply invoke "mpack" via os.system(), which also takes care of
sending the message, but I'd rather be independend of external binaries
(except for sendmail)...

How can I implement that in native Python?                     











More information about the Python-list mailing list