On 05/02/2014 09:12, Peter Otten wrote:
Some Developer wrote:
I'm currently trying to download emails from an IMAP server using
Python. I can download the emails just fine but I'm having an issue when
it comes to splitting the relevant headers. Basically I'm using the
following to fetch the he
spir Wrote in message:
>
> I have no idea of the pattern or structure of email headers. Would you post
> some
> example of 'msg_header_content[0][1]'?
>
> In the meantine, try to suppress \r from the regex formats. (Shouldn't be
> here,
> because when reading strings from files, python con
Some Developer wrote:
> I'm currently trying to download emails from an IMAP server using
> Python. I can download the emails just fine but I'm having an issue when
> it comes to splitting the relevant headers. Basically I'm using the
> following to fetch the headers of an email message:
>
> typ,
On 02/04/2014 06:38 PM, Some Developer wrote:
I'm currently trying to download emails from an IMAP server using Python. I can
download the emails just fine but I'm having an issue when it comes to splitting
the relevant headers. Basically I'm using the following to fetch the headers of
an email m
I'm currently trying to download emails from an IMAP server using
Python. I can download the emails just fine but I'm having an issue when
it comes to splitting the relevant headers. Basically I'm using the
following to fetch the headers of an email message:
typ, msg_header_content = self.m.fe