adding mail attachments

Jürgen Hermann jhe at webde-ag.de
Fri Jun 23 15:22:18 EDT 2000


"geoff munday" <geoffm at nojunkmailqsiuk.com> schrieb im Newsbeitrag
news:8ivdl4$90k$1 at supernews.com...
> Can anyone advise where to look for instructions or examples??

Just did this today (you're lucky), you need a combination of cStringIO
(create file objects from your text, optional), MimeWriter (create the MIME
msg), mimetools (encode the parts, f.x. in base64), and smtplib (send the
mail).

Ciao, Jürgen

--
Jürgen Hermann (jhe<at>webde-ag.de)
WEB.DE AG, Amalienbadstr.41, D-76227 Karlsruhe
Tel.: 0721/94329-0, Fax: 0721/94329-22





More information about the Python-list mailing list