You need to provide some more details, like are you using POP3 or IMAP? Have you checked your password with your provider? If you are on POP3, have you tried using telnet to log into the POP3 server (a quick reference can be found
here, you just have to substitute the terminal and "telnet pop-server-name
pop3"). Does your provider require any sort of encryption or specific authentication methods... etc...