Hello
I got problem with the mail notification after install OpenKM2.0.
According with FAQ of OpenKM and another thread in this forum(http://www.openkm.com/Configuration/109-configuring-mail-notification.html)
I had edited:
//code//
system=hb.com.cn@gmail.com user1=hb.com.cn@gmail.com user2=hb.com.cn@gmail.com user3=hb.com.cn@gmail.com
////
in emails.properties, at C:\FMS\OpenKM\OpenKM-2.0_JBoss-4.2.2.GA\server\default\conf
added:
//code//
application.url=http://localhost:8080/OpenKM/es.git.openkm.frontend.Main/index.jsp
////
in OpenKM.cfg, at C:\FMS\OpenKM\OpenKM-2.0_JBoss-4.2.2.GA
and edited:
//code//
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Id: mail-service.xml 62349 2007-04-15 16:48:15Z
dimitris@jboss.org $ -->
<server>
<!-- ==================================================================== -->
<!-- Mail Connection Factory -->
<!-- ==================================================================== -->
<mbean code="org.jboss.mail.MailService"
name="jboss

ervice=Mail/OpenKM">
<attribute name="JNDIName">java:/Mail/OpenKM</attribute>
<attribute name="Configuration">
<configuration>
<property name="mail.transport.protocol" value="smtp"/>
<property name="mail.smtp.host" value="gmail.com"/>
<property name="mail.from" value="hb.com.cn@gmail.com"/>
<property name="mail.debug" value="true"/>
</configuration>
</attribute>
<depends>jboss

ervice=Naming</depends>
</mbean>
</server>
////
After operate on sending the notification,
I cannot receive the email and get a list of errors begin with: javax.naming.NameNotFoundException: mail not bound
actually I think my problem is I don't understand the variables mention the config file:
//code//
Setting the mail server on JBoss:
$JBOSS_HOME/server/default/deploy must have a file called mail-service.xml ( your SMTP mail server configuration goes here ).
<!-- OpenKM -->
<mbean code="org.jboss.mail.MailService" name="jboss

ervice=mail/OpenKM">
<attribute name="JNDIName">java:/mail/OpenKM</attribute>
<attribute name="User">user</attribute>
<attribute name="Password">password</attribute>
<attribute name="Configuration">
<configuration>
<property name="mail.transport.protocol" value="smtp"/>
<property name="mail.smtp.host" value="host.com"/>
<property name="mail.from" value="noreply@host.com"/>
<property name="mail.debug" value="false"/>
</configuration>
<depends>jboss

ervice=Naming</depends>
</attribute>
</mbean>
////
what is the "user"? and "password" for?
and what should be used to replace "host.com" and "noreply@host.com", if I am working on a PC before I deploy it on the server?
I had worked on that for a day, any help will be appreciated!!!
Thanks!!!