Page 1 of 1

Notify Users not working on Uploading

PostPosted:Mon Jul 18, 2011 10:44 am
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

Re: Notify Users not working on Uploading

PostPosted:Tue Jul 19, 2011 5:02 pm
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 ?