setting up the account is always failed

IMAP is always failed and cannot be fixed

Hello William,
is your IMAP server set up correctly? Have you tried changing the Security to Legacy option under Tools>Accounts>IMAP tab?

Regards,
Olivia