COFIGURING MAIL FOR TOMCAT
1. paste the following line at the bottom, or below similar entry in <installdir>\conf\catalina.policy file: and modify the smtp server with your own.
// Permission to send email via SMTP - (permission to connect to mail server).
permission java.net.SocketPermission "smtp.host:25", "connect,resolve" ;
2. modify your <installdir>\conf\server.xml as shown blow with your relevant info...(change only "value" and not the parameters.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.