Hi RCsCloud,
Please ensure you are using the following credentials:
Server: mail.yourdomain.com
Protocol: IMAP
Port: 143
Secure(SSL): No
Regarding the outgoing mail server, I also recommend ensuring that the port is set to 25 and that the option to Use Secure Sockets Layer (SSL) is not selected.
Cheers.