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

search搜索失败 #552

Open
18534516725 opened this issue Oct 25, 2023 · 3 comments
Open

search搜索失败 #552

18534516725 opened this issue Oct 25, 2023 · 3 comments

Comments

@18534516725
Copy link

搜索qq邮箱或者网易163邮箱时 用FROM搜索失效,qq邮箱使用search FROM不论搜索什么都会返回全部 网易163会直接报错

@18534516725
Copy link
Author

image

@mjs
Copy link
Owner

mjs commented Oct 25, 2023

Do you see an error from the server?

Could you try enabling logging as described here: https://imapclient.readthedocs.io/en/master/concepts.html#logging ?
That will let us see the protocol details which might show what's going on.

@mjs
Copy link
Owner

mjs commented Oct 25, 2023

Also, I can't tell from your screenshot but make sure you're calling search with the criteria as a list like this:

messages = server.search(["FROM", "[email protected]"])

That is, not as a single string.

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