Configuring a Mail Resource with SSL on Apache Tomcat 7.x
Configuring a Mail Resource with SSL on Apache Tomcat 7.x
Add the following entry to the context xml for the application:-
<Resource name="mail/MailSession" type="javax.mail.Session" protocol="smtp" host="example.com" auth="Container" user="test@example.com" password="test" class="javax.net.ssl.SSLSocketFactory" port="465" debug="true"/>
0 Comments:
Post a Comment
<< Home