Author jader.fabiano
Recipients barry, jader.fabiano, r.david.murray
Date 2014-05-06.20:15:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAPL4z64V1bfsfDxSyXoQPXZTi0suVyPp6_rrJdBbxoX_Mgr5Mw@mail.gmail.com>
In-reply-to <1399406631.38.0.640618573571.issue21448@psf.upfronthosting.co.za>
Content
No, The file has 12Mb, because It has attachments. I am going to show an
example.

You can use a file thus:

Date: Tue,  May 10:27:17 6 -0300 (BRT)
From: email@email.com.br
MIME-Version: 1.0
To: example@example.com
Subject:example

Content-Type: multipart/mixed; boundary=24f59adc-d522-11e3-a531-00265a0f1361

--24f59adc-d522-11e3-a531-00265a0f1361
Content-Type: multipart/alternative;
boundary=24f59a28-d522-11e3-a531-00265a0f1361

--24f59a28-d522-11e3-a531-00265a0f1361^M
Content-Type: text/html; charset="iso-8859-1" ^M
Content-Transfer-Encoding: 7bit

<br/><font color="#00000" face="verdana" size="3">Test example</b>

--24f59a28-d522-11e3-a531-00265a0f1361--

--24f59adc-d522-11e3-a531-00265a0f1361
Content-Type: application/pdf; name=Example.pdf
Content-Disposition: attachment; filename=Example.pdf
Content-Transfer-Encoding: base64

 attachment content in base64......

--24f59adc-d522-11e3-a531-00265a0f1361--

2014-05-06 17:03 GMT-03:00 R. David Murray <report@bugs.python.org>:

>
> R. David Murray added the comment:
>
> We'll need the data file as well.  This is going to be a data-dependent
> issue.  With a 12MB body, I'm guessing there's some decoding pathology
> involved, which may or may not have been already fixed in python3.
>
> To confirm this you could use HeaderParser instead of Parser, which won't
> try to decode the body.
>
> ----------
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue21448>
> _______________________________________
>
History
Date User Action Args
2014-05-06 20:15:43jader.fabianosetrecipients: + jader.fabiano, barry, r.david.murray
2014-05-06 20:15:43jader.fabianolinkissue21448 messages
2014-05-06 20:15:42jader.fabianocreate