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

The IMAP server replied to the 'FETCH' command with a 'BAD' response: Error in IMAP command UID FETCH: Invalid uidset (0.001 + 0.000 secs) #191

Closed
sla-te opened this issue Jul 22, 2020 · 1 comment

Comments

@sla-te
Copy link

sla-te commented Jul 22, 2020

With rambler.ru my logs are full with this error:
[error] UID command error: BAD [b'Error in IMAP command UID FETCH: Invalid uidset (0.001 + 0.000 secs).']
I believe it might be the same as in this issue, but it would require me too much time to work into this and I lack understanding of how IMAP works in order to make a solid PR for it.

jstedfast/MailKit#572

@jwiebels
Copy link

jwiebels commented Jul 22, 2020

I also ran into this issue while running the following code:

with Imbox(hostname=host,
		    username=email_address,
		    password=password,
		    port=port,
		    ssl=True,
		    ssl_context=None,
		    starttls=False) as imbox:

    for folder in folders:
	    all_mails_with_matching_subject = imbox.messages(folder=folder, subject=subject)

While searching Google for a solution, I ran into this bug report on another package, and the reply to this issue suggests that the issue was resolved by using unsigned ints instead signed ints.

Hope this is helpful.

Best regards

@sla-te sla-te closed this as not planned Won't fix, can't repro, duplicate, stale Aug 15, 2023
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

2 participants