• Notify Users not working on Uploading

  • 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.
 #11582  by badamopenkm
 
Hi All,
I have strange problem where in the notification mails are not being sent when we select Notify Users option during check in of a Document. But the Check-in and Add_note event mails are being sent if a User is subscribed to a Folder or to the same Document. I believe have configured all the settings proeprly. Somebody could help me with this issue. I am using the gmail SMTP server for sending mails. Please find my settings below.
Code: Select all
notification.message.body Text <b>Document: </b><a href="${documentUrl}">${documentPath}</a><br><b>User: </b>${userId}<br><b>Message: </b>${notificationMessage}<br>       
notification.message.subject Text Mars DMS - NOTIFICATION - ${documentName}
My Mail service configuration:
Code: Select all
<mbean code="org.jboss.mail.MailService" name="jboss:service=OpenKM">
    <attribute name="JNDIName">java:/mail/OpenKM</attribute>
    <attribute name="User">XXXX</attribute>
    <attribute name="Password">XXXX</attribute>
    <attribute name="Configuration">
      <configuration>
        <property name="mail.transport.protocol" value="smtp"/>
        <property name="mail.smtp.host" value="smtp.gmail.com"/>
        <property name="mail.smtp.port" value="465"/>
        <property name="mail.smtp.socketFactory.port" value="465"/>
        <property name="mail.smtp.socketFactory.class" value="javax.net.ssl.SSLSocketFactory"/>
        <property name="mail.from" value="XXXX@mars-india.com"/>
        <property name="mail.smtp.auth" value="true"/>
        <property name="mail.debug" value="true"/>
      </configuration>
    </attribute>
    <depends>jboss:service=Naming</depends>
  </mbean>
- Ramesh BAdam
 #11594  by jllort
 
You can not notify yourself ... for what are you saying when uploading file there's no notification sended to any user. But automatic mail notification by subscription runs propertly. Don't lose time with configuration mail-service.xml ... could be a bug of the release. Which OpenKM version are you using ? The problem happens on uploading new file or upgrading version ?

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.