Sending MIME-Attachments in Python

Ralf Hildebrandt hildeb at www.stahl.bau.tu-bs.de
Tue Feb 29 13:36:50 CET 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