Share via

Sending emails using python doesn't work anymore

Verhagen Verhuur 0 Reputation points
2024-09-26T08:15:43.5066667+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

Screenshot 2024-09-25 at 19.53.20

Microsoft 365 and Office | Development | Other
Outlook | Windows | Classic Outlook for Windows | For business

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.