email.Message problem
Corrado Gioannini
gioco at nekhem.com
Wed Sep 3 06:36:30 EDT 2008
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)
More information about the Python-list
mailing list