Ir al contenido
Otras versiones

Cargando…

Configuring mail

Esta página aún no está disponible en tu idioma.

The application sometimes sends emails to users, for example when the users have been subscribed to a document or folder.

Get your mail account data ( same than you will use to configure standard mail client, like Outlook or Thunderbird ).

Edit the file $TOMCAT_HOME/conf/server.xml:  

Terminal window
vim /home/openkm/tomcat/conf/server.xml

After editing the server.xml should looks something like this:

<Resource name="mail/OpenKM" type="javax.mail.Session"
mail.transport.protocol="smtp"
mail.smtp.auth="true"
mail.smtp.host="your smtp server"
mail.smtp.user="<username>"
password="<password>"
mail.port="25"
mail.debug="true"/>
<Resource name="mail/OpenKM" auth="Container" type="javax.mail.Session"
mail.transport.protocol="smtp"
mail.smtp.auth="true"
mail.smtp.host="smtp.gmail.com"
mail.smtp.port="465"
mail.smtp.user="<username>"
password="<password>"
mail.from="<sender email>"
mail.smtp.quitwait="false"
mail.smtp.starttls.enable="true"
mail.smtp.socketFactory.class="javax.net.ssl.SSLSocketFactory"
mail.debug="true"/>
Terminal window
<Resource name="mail/OpenKM" auth="Container" type="javax.mail.Session"
mail.transport.protocol="smtp"
mail.smtp.starttls.enable="true"
mail.smtp.auth="true"
mail.smtp.host="smtp.office365.com"
mail.smtp.port="587"
mail.smtp.user="<username>"
mail.from="<username>"
password="<password>"
mail.debug="true" />