Posted in Web 通过imap协议连接邮箱一直提示C4 NO LOGIN failed – Microsoft Community October 28, 2025 是用python通过imap协议收取邮件的,请问现在要怎么连接呢? 将身份验证方式,从 basic authentication 改为 modern authentication ( oauth2 )。 https://answers.microsoft.com/zh-hans/outlook_com/forum/all/%E9%80%9A%E8%BF%87imap%E5%8D%8F%E8%AE%AE%E8%BF%9E/66e561da-6193-402c-9a51-04953fd0a8d8