andyedinborough/aenetmail — Issue #33: Truncated attachments?
Author: Stonie
Created: 2012-02-18 13:09:10+00:00
State: open

I have a very simple bit of code that reads mail from Gmail via the Imap client.

Both text and binary attachments are being truncated, I have tried a ton of different ways of prodding the api, all my attachments come through with correct mime types and file names but are truncated at about ~300 Bytes?

I Stepped ImapClient.GetMessages()

Seems that attachments are truncated coming out of there? so without totally tearing everything down. Does anyone have any ideas? Is there something special I need to do to ensure attachments get fully downloaded?

Regards,
Stonie.