• How to setup mail notification for openKM 3.0?

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #3104  by installopenkm
 
Hi,

These days I install openKM 3.0 community version on my windows XP PC, it works well while I can access \"http://localhost:8080/OpenKM\" as admin.

Further I try to setup mail notification for OpenKM, I search hours in web or this forum for \"MAIL\" topics but CANNOT find much info.

Would ADMIN4forum CAN give us help and tell us (((How to setup mail notification for openKM 3.0?))) a little bit details, I think LOTS OF USER of openKM like to see these steps of mail!

thanks a lot!

a normal openKM user
 #3105  by Shala
 
Hello Sir/Madam,

After a week of hard working I just managed mail notification.
I had the same problem as you and now it is working.

This is the full code:
mail-service.xml should look like this:

<!-- OpenKM -->
<mbean code=\"org.jboss.mail.MailService\" name=\"jboss:service=mail/OpenKM\">
<attribute name=\"JNDIName\">java:/mail/OpenKM</attribute>
<attribute name=\"User\">user</attribute>
<attribute name=\"Password\">password</attribute>
<attribute name=\"Configuration\">
<configuration>
<!-- Change to your mail server prototocol -->
<property name=\"mail.store.protocol\" value=\"pop3\"/>
<property name=\"mail.transport.protocol\" value=\"smtp\"/>

<!-- Change to the user who will receive mail -->
<property name=\"mail.user\" value=\"nobody\"/>

<!-- Change to the mail server -->
<property name=\"mail.pop3.host\" value=\"mail.hosting.com\"/>

<!-- Change to the SMTP gateway server -->
<property name=\"mail.smtp.host\" value=\"mail.hosting.com\"/>

<!-- The mail server port -->
<property name=\"mail.smtp.port\" value=\"25\"/>

<!-- Change to the address mail will be from -->
<property name=\"mail.from\" value=\"NoReply@es.buurme.com\"/>

<!-- Enable debugging output from the javamail classes -->
<property name=\"mail.debug\" value=\"true\"/>
</configuration>
<depends>jboss:service=Naming</depends>
</attribute>
</mbean>

* mail.hosting.com this is my hosting mail of my company, take care of this, if you make a mistake it will not work.
* buurme.com is our website

Other changes in emails.properties
shala=Shala@buurme.com shala is my user name and Shala@buurme.com is my e-mail address.

OpenKM.cfg should look like:

# Default configuration values
repository.config=repository.xml
repository.home=repository
system.user=system
default.user.role=UserRol
default.admin.role=AdminRol
principal.adapter=es.git.openkm.core.UsersRolesPrincipalAdapter
max.file.size=100
max.search.results=25
application.url=http://your_host:8080/OpenKM/es.git.openkm.frontend.Main/index.jsp

This is working well for me and I hoppe it will work for you too. I am using OpenKM 2.0 - OpenKM 3.0 did not work for me.

All the best.
Shala
 #3115  by jllort
 
It might run with OpenKM 3.0. which error you\'ve got there.

You must consider migrating between versions, because nearly we\'ll release the 4.0 versionand you\'ll need to make two migrations one to upgrade to 3.0 and other to 4.0

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.