En Tue, 02 Sep 2008 13:04:18 -0300, Corrado Gioannini <gioco@nekhem.c omescribió:
Replace this line with:
messg = email.mime.mult ipart.MIMEMulti part()
*OR*
Set the Content-Type header to "multipart/mixed" *before* anything else.
--
Gabriel Genellina
Hi all,
i know i'm probably going to ask a very silly question, but i
can't figure out where i'm doing wrong just reading the docs.
>
trying to build and send a mail message using the email.* modules
(with python 2.5).
>
a simplified version of my script that breaks is this:
>
mailtest.py
>
messg = email.message.M essage()
i know i'm probably going to ask a very silly question, but i
can't figure out where i'm doing wrong just reading the docs.
>
trying to build and send a mail message using the email.* modules
(with python 2.5).
>
a simplified version of my script that breaks is this:
>
mailtest.py
>
messg = email.message.M essage()
messg = email.mime.mult ipart.MIMEMulti part()
*OR*
Set the Content-Type header to "multipart/mixed" *before* anything else.
--
Gabriel Genellina