SMTP Email Setup

So I have entered the necessary details for email set in the system admin module but when I try to test the email at the end, I get this error:
An error (SMTP connect() failed. occurred sending an email to…
I am using gmail. Please any help?

A nyhoo, I fixed it :wink:

Thanks tenko, great to hear you fixed it. If there’s anything in your solution that may help other users, feel free to share it, as you never know when someone encounters the same issue.