Sending emails using python is not working any more

Anonymous
2024-09-25T17:59:13+00:00

several month ago I developed a code that automatically sends out emails to my tenants regarding a debt using python coding. This has worked fine until this afternoon, ever since I get the following error:

(535, b'5.7.139 Authentication unsuccessful, basic authentication is disabled. [FR4P281CA0031.DEUP281.PROD.OUTLOOK.COM 2024-09-25T17:41:43.800Z 08DCDD1E51786FEA]')

If I look it up it tells me I have to get involved with OAuth, but I am not familiar with this and I don't really understand this. In the attachment I give a code snippet from the internet that gives the same error as my own code does.

could someone help me please.

kind regards

Kevin

Hi

Microsoft 365 and Office | Install, redeem, activate | Other | Other

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Anonymous
    2024-09-26T07:35:10+00:00

    Hi,Verhagen Verhuur

    Thank you for visiting the Microsoft Community.

    Your current problem seems to be related to python and requires professional technical support from the python team. We recommend that you consider asking questions and consulting Excel - Microsoft Q&A(English only)

    Users who have encountered problems in the same field as you will ask questions and share ideas here, and experts there will provide you with more professional solutions for python.

    I hope the above information can help you.

    Cherry.Z- MSFT | Microsoft Community Support Expert

    0 comments No comments
  2. Anonymous
    2024-09-26T08:20:20+00:00

    for some reason my post gets deleted instantly, and I just copied this post.

    0 comments No comments