-
-
Notifications
You must be signed in to change notification settings - Fork 655
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
SMTP Authentication Error: Basic Authentication Disabled #46
Comments
check your smtp_server, port and passward, or use other email server. This error is not related to the script. |
I have encountered the same problem, have you solved it? |
you can try other email server. |
Hi, I tried foxmail and hotmail, and it says |
check the smtp port and the passward. you can try QQ mail which passes the test. |
When attempting to send an email using the Python script, the process fails with an SMTP authentication error. It appears that basic authentication has been disabled by the email server (Outlook). Below is the error traceback:
Rendering Email: 00%|██████████| 5/5 [00:8<00:00, 3.77s/it]
Traceback (most recent call last):
File "/home/runner/work/zotero-arxiv-daily/zotero-arxiv-daily/main.py", line 78, in
send_email(args.sender, args.receiver, args.sender_password, args.smtp_server, args.smtp_port, html)
File "/home/runner/work/zotero-arxiv-daily/zotero-arxiv-daily/construct_email.py", line 58, in send_email
server.login(sender, password)
File "/home/runner/.local/share/uv/python/cpython-3..0-linux-x86_64-gnu/lib/python3./smtplib.py", line 7, in login
raise last_exception
File "/home/runner/.local/share/uv/python/cpython-3..0-linux-x86_64-gnu/lib/python3./smtplib.py", line 739, in login
(code, resp) = self.auth(
^^^^^^^^^^
File "/home/runner/.local/share/uv/python/cpython-3..0-linux-x86_64-gnu/lib/python3./smtplib.py", line 662, in auth
raise SMTPAuthenticationError(code, resp)
smtplib.SMTPAuthenticationError: (535, b'5.7.39 Authentication unsuccessful, basic authentication is disabled. [BYP220CA003.NAMP220.PROD.OUTLOOK.COM 2025-0-07T09:3***:44.957Z 08DD2EB4D55***E4A0]')
Error: Process completed with exit code ***.
The text was updated successfully, but these errors were encountered: