foten wrote:
The problem I'm having is when I'm trying to extract the
attachement using
f=open(Filename, "wb")
f.write(msg.get_payload(decode=1))
f.close()
Not the whole message is decoded and stored!
When only trying
f.write(msg.get_payload())
I see that the last 25
Lee Harr <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>...
> On 2005-04-07, foten <[EMAIL PROTECTED]> wrote:
> > The problem I'm having is when I'm trying to extract the
> > attachement using
> > f=open(Filename, "wb")
> > f.write(msg.get_payload(decode=1))
> >
On 2005-04-07, foten <[EMAIL PROTECTED]> wrote:
> The problem I'm having is when I'm trying to extract the
> attachement using
> f=open(Filename, "wb")
> f.write(msg.get_payload(decode=1))
> f.close()
> Not the whole message is decoded and stored!
> When only trying
>