OK so i have just fixed this fault i will give info for anyone else that has this error
for anyone that has google apps for there site
Disabling access to less secure apps for all users
Use this setting when you want to ensure that access by a less secure app is unavailable to all.
Sign in to the Google Admin console.
Click Security > Basic settings.
Where is it?
Under Less secure apps, select Go to settings for less secure apps.
In the subwindow, select the Disable access to less secure apps for all users radio button.
Once you've set Disable access to less secure apps for all users to on, affected users within the selected group or Organizational Unit will not be able to toggle access for less secure apps on or off themselves. You will have to set the setting back to Allow users to manage their access to less secure apps to allow them to toggle access for less secure apps on or off themselves.
And if you are just using a gmail account then this will work for you as well
https://www.google.com/settings/security/lesssecureapps
and set it to on