Difference between revisions of "Tomcat mail configuration"

From OpenKM Documentation
Jump to: navigation, search
Line 1: Line 1:
 +
OpenKM is a J2EE application deployed in a Tomcat. Some parameters have a default configuration that fit common user requirements but others depend on specific user configuration.
 +
 +
{{Note|INFORMATION NOT COMPLETE, UNDER CONSTRUCTION}}
 +
 +
OpenKM sometimes sends emails to users (because they have subscribed a document or folder, for example) and you have to check that this email configuration is correct. If you edit the file ''$TOMCAT_HOME/conf/server.xml'':
 +
 +
$ vim $$TOMCAT_HOME/conf/server.xml
 +
 +
You will see something like this:
  
 
<source lang="xml">
 
<source lang="xml">

Revision as of 19:22, 17 October 2012

OpenKM is a J2EE application deployed in a Tomcat. Some parameters have a default configuration that fit common user requirements but others depend on specific user configuration.


Nota clasica.png INFORMATION NOT COMPLETE, UNDER CONSTRUCTION

OpenKM sometimes sends emails to users (because they have subscribed a document or folder, for example) and you have to check that this email configuration is correct. If you edit the file $TOMCAT_HOME/conf/server.xml:

$ vim $$TOMCAT_HOME/conf/server.xml

You will see something like this:

<Resource
name="mail/Session"
type="javax.mail.Session"
auth="Container"
mail.smtp.host="mydomain IP address"
mail.smtp.auth="true"
username="my email account username"
password="the email account password"
mail.user="my email account username"
mail.password="the email account password"
mail.port="25"
mail.transport.protocol="smtp"
mail.debug="true"/>