Sending emails using python doesn't work anymore
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