Re: email.Message problem

2008-09-03 Thread Gabriel Genellina
En Wed, 03 Sep 2008 07:36:30 -0300, Corrado Gioannini <[EMAIL PROTECTED]> escribi�: 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 "m

Re: email.Message problem

2008-09-03 Thread Corrado Gioannini
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 thou

Re: email.Message problem

2008-09-02 Thread Gabriel Genellina
En Tue, 02 Sep 2008 13:04:18 -0300, Corrado Gioannini <[EMAIL PROTECTED]> escribió: > 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 > (wi

email.Message problem

2008-09-02 Thread Corrado Gioannini
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