Is the script using basic auth? Could be its now blocked in your tenant
Client settings need to be updated to Microsoft Exchange. For more info see https://x.co/client
I am using my email and password to send email using python script. But I am not able to send mail since past couple of weeks.
I debugged and found error.
Msg: b"Your message wasn't delivered because your client settings need to be updated to Microsoft Exchange. For more info see https://x.co/client"
on windows machine using outlook I also updated my email to Microsoft Exchange but still my problem is not resolved.
Can someone guide me on this?
Note: From outlook web and app email send/receive both are working fine. problem is only with script smtp.
Outlook | Windows | Classic Outlook for Windows | For business
Exchange | Exchange Server | Management
2 answers
Sort by: Most helpful
-
Andy David - MVP 157.8K Reputation points MVP Volunteer Moderator
2022-06-15T14:55:17.833+00:00 -
Aaron Xue-MSFT 2,596 Reputation points Microsoft External Staff
2022-06-20T09:35:55.613+00:00 Hi @prioritybiz ,
Basically, outlook client uses the modern authentication to verily account.
You need to have the permission of O365 administrator. And then go to the Microsoft 365 admin center at https://admin.microsoft.com, go Settings > Org Settings > Modern Authentication. In the Modern authentication flyout that appears, you can enable the basic authentication for account.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.