Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gmail zip attachment download fails #84

Open
shanecastle opened this issue Jun 6, 2012 · 3 comments
Open

Gmail zip attachment download fails #84

shanecastle opened this issue Jun 6, 2012 · 3 comments

Comments

@shanecastle
Copy link

I'm connecting to imap.google.com to download some zip files. The Attachment.Save() method fails, it cuts the file off and says file isnt base64 encoded.

I asked the question on StackOverflow before finding this forum: http://stackoverflow.com/questions/10921752/ae-net-mail-imap-partial-fetch

The problem seems to come up with Java as well, and is resolved with setting partial fetch to false:
http://stackoverflow.com/questions/1755414/javamail-baseencode64-error

Any ideas?

@andyedinborough
Copy link
Owner

I've been unable to find the IMAP command to disable partial fetching. I will get it into code as soon as I can find it. :/

@shanecastle
Copy link
Author

There doesn't seem to be a way to find the attachment size in the headers. Think its possible to get that info and use it while downloading?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@andyedinborough @shanecastle and others