imaplib.IMAP4.error: b'LOGIN failed.'

AbdullahAlshami-2481 0 Reputation points
2024-02-26T12:28:00.8666667+00:00

Screenshot (118)

hello everyone, trying to extract attachments using imap , i have tested this approch to extract attachments from my gmail and for my other outlook email it did wrok perfect but when i tryed to use it for my work email it keep showing me this error : imaplib.IMAP4.error: b'LOGIN failed.even if i alredy build the app password and the imap is already avtive as you can see at the photo. can anyone help

Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
5,771 questions
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
12,077 questions
Microsoft Authenticator
Microsoft Authenticator
A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation.
8,378 questions
0 comments No comments
{count} votes

Your answer

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