On Tue, Sep 02, 2008 at 04:50:15PM -0300, Gabriel Genellina wrote:
> > messg = email.message.Message()
> 
> Replace this line with:
> messg = email.mime.multipart.MIMEMultipart()
> *OR*
> Set the Content-Type header to "multipart/mixed" *before* anything else.

thanks Gabriel! 

i coudn't have thought that setting the header in a different order
could affect the as_string method. i'll take a look at the code. :)

c.
-- 
             no, sono sempre io, non mi cambierete quel che ho dentro
                                        forse ho solo un'altra faccia
                      ho più cicatrici di prima, sorrido un po' meno,
                                                  forse penso di più.
                                                               (Kina)

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to