SSL port to use is either 587 or 465
Authorise less secure apps in gmail settings
You may get an alert in your gmail inbox saying you need to authorize unsafe apps
You need to enable access for less secure apps - you will have an email in the inbox for that account telling you how to do it:
or click here
Google just blocked someone from signing into your Google Account from an app that may put your account at risk.
Less secure app
Thursday, 3 November 2016 13:05 (GMT)
Don't recognise this activity?
If you didn't recently receive an error while trying to access a Google service, like Gmail, from a non-Google application, someone may have your password.
SECURE YOUR ACCOUNT
Are you the one who tried signing in?
Google will continue to block sign-in attempts from the app that you're using because it has known security problems or is out of date. You can continue to use this app by allowing access to less secure apps, but this may leave your account vulnerable.
Allow Access from All IP addresses
if you still get authentication errors with the above steps taken - click this link:
IMAP needs to be enabled on the gmail account you wish to send Mintsoft emails from
Click the gear icon in top right
then click forwarding and enable IMAP: