That line was already there but with a value of "0" so I have changed that to "1" and setup the email settings again. Still does not work but I get a different error message now.
"EMAIL AUTHENTICATION USERNAME OR PASSWORD NOT ACCEPTED:
I have checked the password is correct and I am entering my username as "email@example.com"
Have tried ticking the extra options and un-ticking also but I did see that this could also be a problem with my gmail account as I have 2 factor verification turned on: Any Idea what I can try next..
Have found that there is another item that must be fixed as well.
Sign in with App Passwords
Tip: App Passwords aren’t recommended and are unnecessary in most cases. To help keep your account secure, use "Sign in with Google" to connect apps to your Google Account.
An App Password is a 16-digit passcode that gives a less secure app or device permission to access your Google Account. App Passwords can only be used with accounts that have 2-Step Verification turned on.
When to use App Passwords
Tip: iPhones and iPads with iOS 11 or up don’t require App Passwords. Instead use “Sign in with Google.”
If the app doesn’t offer “Sign in with Google,” you can either:
Use App Passwords
Switch to a more secure app or device
Create & use App Passwords
If you use 2-Step-Verification and get a "password incorrect" error when you sign in, you can try to use an App Password.
Go to your Google Account.
Under "Signing in to Google," select App Passwords. You may need to sign in. If you don’t have this option, it might be because:
2-Step Verification is not set up for your account.
2-Step Verification is only set up for security keys.
Your account is through work, school, or other organization.
You turned on Advanced Protection.
At the bottom, choose Select app and choose the app you using Select device and choose the device you’re using Generate.
Follow the instructions to enter the App Password. The App Password is the 16-character code in the yellow bar on your device.
Tip: Most of the time, you’ll only have to enter an App Password once per app or device, so don’t worry about memorizing it.
Because of the 2 factor verification I needed to create a specific APP PASSWORD.
Once I created this password and finished the process I am now able to email
HURRAY, FINALLY FIXED
THANK YOU SO MUCH FOR THE STARTING POINT.