Extracting email attachment when is_multipart() is False

Davor Cengija dcengija_IQ_Filter at inet.hr
Wed Nov 26 02:06:15 EST 2003


John J. Lee wrote:
> "Davor Cengija" <dcengija_IQ_Filter at inet.hr> writes:
>> This is a multi-part message in MIME format.
>>
>> ------=_NextPart_000_0026_01C3B347.DBEA9660
>> Content-Type: text/plain;
> [...]
>
> You seem to be missing the RFC 822 headers (From, To, Subject, etc.).

Yes, that's true. The question is if it's easier to write a parser for that
kind of messages or to force the message producing application to output the
headers as well. We'll see...

Thanks






More information about the Python-list mailing list