Gmail SMTP Not Working

Version 1.3.5 SP3

Can anyone help in getting Gmail SMTP working on the mentioned version? I had it working fine but we moved the store to a new server and now it’s not working at all. Honestly can’t get any of the mail functions working but prefer Gmail SMTP. This is driving me crazy as I have searched the forum and tried everything I could find and thought of.

Pretty sure it something to do with the port. I have tried adding the port to the end but no luck. If I recall correctly, previously I had to change or add the port number to a file. I just can’t remember if that was the case or what file that might be.