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

SELECT Unsafe Login #544

Open
luiox opened this issue Oct 12, 2023 · 1 comment
Open

SELECT Unsafe Login #544

luiox opened this issue Oct 12, 2023 · 1 comment

Comments

@luiox
Copy link

luiox commented Oct 12, 2023

Hi, I use the code that in README.rst. I filled in the correct email address, username, and password for the code, but an error occurred.
Here is my code. I can guarantee that my username and password are correct, and I have used an authorization code instead.
image
When I ran these codes, the error 'SELECT Unsafe Login' occurred. I need help.
Traceback (most recent call last):
File "D:\WorkSpace\InfoSearcher\src\email\email_rewrite.py", line 6, in
client.select_folder('INBOX')
File "D:\WorkSpace\InfoSearcher\venv\Lib\site-packages\imapclient\imapclient.py", line 811, in select_folder
self._command_and_check("select", self._normalise_folder(folder), readonly)
File "D:\WorkSpace\InfoSearcher\venv\Lib\site-packages\imapclient\imapclient.py", line 1739, in _command_and_check
self._checkok(command, typ, data)
File "D:\WorkSpace\InfoSearcher\venv\Lib\site-packages\imapclient\imapclient.py", line 1745, in _checkok
self._check_resp("OK", command, typ, data)
File "D:\WorkSpace\InfoSearcher\venv\Lib\site-packages\imapclient\imapclient.py", line 1619, in _check_resp
raise exceptions.IMAPClientError(
imaplib.IMAP4.error: select failed: SELECT Unsafe Login. Please contact [email protected] for help

@zhangjiale2020
Copy link

https://blog.csdn.net/jony_online/article/details/108638571
看看这篇文章能否解决你的问题

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