posted 11 years ago
Help us solve this.
We have a web application hosted on tomcat-7, say
this is Server-A. This web application is sending an
email from GMail SMTP host to the users email address.
The below code are the Properties settings.
Our doubt is, why this code works fine only when
the port 465 is open on Server-A. We understand
from the JavaMail docs that 465 pertains to the
port on smtp.gmail.com. Why 465 to be open on
Server-A when it is not sending any emails ?
Thank you in advance.