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

Already on GitHub? Sign in to your account

Error in IMAP command FETCH: Invalid messageset #324

Closed
kimar opened this Issue Oct 29, 2013 · 3 comments

Comments

Projects
None yet
3 participants

kimar commented Oct 29, 2013

I'm getting this Error "Error in IMAP command FETCH: Invalid messageset" when trying to perform a IMAP connection to a Mailbox at my Webhoster. I've read about it propably being a Problem with Dovecot. I'wont be able to change naything about it because it's just a mailbox at my webhoster. Any Ideas?

Owner

mscdex commented Oct 29, 2013

What does your fetch() look like?

I was getting this when I used this on an email account with no emails in the inbox.

var f = imap.seq.fetch('*', {
  bodies: ['TEXT', 'HEADER.FIELDS (FROM TO SUBJECT DATE)'],
  struct: true
});

I also got this error when using "1:3" in an inbox with only one email in it, but when I switched to an asterisk it worked. So it looks like you may need to have emails in the inbox that fully match your messageset.

kimar commented Nov 2, 2013

Sorry for not coming back to it a bit sooner, I've also been trying this with "1:3", I acutally don't know how many mails have been there. But i'll have a look into it again.

@mscdex mscdex closed this Jul 28, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment