Could be your host doesn't allow traffic on that port.
Could be your old version of Zen Cart. Newer versions use newer code for making connections to outside services such as email. In the past I've had no trouble using the instructions from the link I shared when setting up gmail accounts on v1.5.1, but I suppose maybe Google has changed something. Or, again, it could be your server.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.