I'm had an issue with Gmail. Hotmail worked. But Gmail said it cannot contact the server?
If my email is
First.Last@Gmail.com
I have this on the server settings screen
Domain\User: \First.Last
Password: - I Verified this
Server: m.google.com - changed as per the OP.
This results in an error "cannot contact the server"
FIX - Changing the Domain\User to \First.Last@gmail.com was required.
apparently "Cannot contact the server" is a generic error and in my case was due to the user not being found. A faulty password returns the same error.
Thanks a lot guys.