A few things to check ....
Check with your ISP / Mail provider as to the exact settings required, confirm that these are correct in the account settings screens - Check if you are given more than one port address try changing to the alternate (there is normally the option to connect encrypted or in the clear do not change ports if this would compromise security, only change if the security level is maintained)
in the advanced settings, increase the timeout setting