Please verify gateway and DNS settings so you have proper connection to the internet. From the console try and ping the email server (CNTRL+ALT+T, ping).