Get IMAP Mail Message Invalid credendials

hi, Iam facing below issue can anyone tell me how to solve this?
Get IMAP Mail Messages: Invalid credentials (Failure)

Hey! Welcome to community…

From where we are retrieving the credentials from? I mean assets, Windows credential manager or defined inside the activity?

Could you please check the space before or after the text?

And also make sure you’re entering the correct credentials…

And also you’re using the correct port and server number?

Check the above mentioned cases…