MIMEMultipart cuts attached file
lbates at swamisoft.com
Fri Sep 10 15:23:04 CEST 2004
You may want to take a look at the smtpwriter class
I use it extensively and it makes email creation
(with or without attachments) very easy. At the
very least, you should be able to get some hints.
"Achim Domma (Procoders)" <domma at procoders.net> wrote in message
news:chs8d7$p4i$05$1 at news.t-online.com...
> I try to send a mulitpart email, which should have a body and two
> attached files: a html file and a zip file. My code looks like this:
> msg['To']='; '.join(recipients)
> text=MIMEText("the body text",'plain')
> The body of the mail is ok and the zip archive is also valid, but the
> end of the html is cut of most of the time.
> Any hints what I'm doing wrong?
More information about the Python-list