Found the problem, tried 1 and it worked, this was a post from a bt employee may help some of you even if not on bt
This is quite a strange issue, only affects mail on apple and only on the new hub. It seems to be the way mail searches for the dns.
There's three ways to fix this:
1) Specify dns on the mac: Click the finder icon - apple - system preferences - network - (select either wireless or ethernet) - click advanced - click dns - click the plus - enter two dns servers, i.e. 62.6.40.162 and 194.72.9.34
2) Change the hostname on the router: Open safari - type in the address bar 192.168.1.254 - click settings - enter your password, click advanced settings - continue to advanced settings - business network and rename your mac in the network to something with one word and no puntuation, i.e rename unknown45:ae:01:ee to "Mac" or "laptop".
3) Change the name of the mac:
Open a Terminal window and enter the following command "scutil --set HostName newhostname" replace newhostname with whatever you wish to call the Mac. Use the following requirements, it must begin with a letter and can contain letters and numbers. Try to keep it under 64 characters as well.
• Click on the Apple icon, then System Preferences. In there, should be an option called Sharing. If not there will be a show all button at the top, click this, then click Sharing.
• In the window this brings up click Edit
• In the window this brings set the Local Hostname field to contain the exact same thing you set the hostname to in the terminal
• Back into the System Preferences page and click on Network
• Select the Location option at the top and in the menu that pops up click Edit Locations
• Click the plus button and give the new location any name.
• Once this is done the computer may loose all connectivity. If using Wi-Fi click on the Wifi option on the left of the network pane and it should reconnect to the network without having to re-enter security keys or anything.
• If using Ethernet, it might just work, make sure Ethernets selected on the left and check through the advanced options, try doing DHCP release and renew etc.