I tried IMAP setting as pop3 with port 110 with my email id and password and both starttls and as encryption ssl/tls but it says IMAP setting not valid. Similarly, I put SMTP with port 25 with same settings above.
I got an error which says
unable to validate: imap connection error and smtp connection error. but the surprising thing is the same setting above worked on thunderbird.