Hi,
i am having difficulties with configuring the mail notification service of OpenKM. i have studied the wiki and also the pdf documentation but somehow it is not working for me. any help would be greatly appriciated.
here\'s what i have done so far:
i have made the mail-service. xml file and placed it in C:\\OpenKM-1.2_JBoss-4.0.3SP1\\OpenKM-1.2_JBoss-4.0.3SP1\\server\\default\\deploy
mail-service.xml:
C:\\OpenKM-1.2_JBoss-4.0.3SP1\\OpenKM-1.2_JBoss-4.0.3SP1\\server\\default\\conf
emails.properties:
C:\\OpenKM-1.2_JBoss-4.0.3SP1\\OpenKM-1.2_JBoss-4.0.3SP1
and added this line:
application.url=http://localhost:8080/OpenKM/es.git.ope ... /index.jsp
as far as i can tell i should work the server log is:
thanks
Peter
i am having difficulties with configuring the mail notification service of OpenKM. i have studied the wiki and also the pdf documentation but somehow it is not working for me. any help would be greatly appriciated.
here\'s what i have done so far:
i have made the mail-service. xml file and placed it in C:\\OpenKM-1.2_JBoss-4.0.3SP1\\OpenKM-1.2_JBoss-4.0.3SP1\\server\\default\\deploy
mail-service.xml:
Code: Select all
then i have made the emails.properties file and placed it in
<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<!DOCTYPE server>
<!-- $Id: mail-service.xml,v 1.5.6.1 2005/06/01 06:20:43 starksm Exp $ -->
<server>
<!-- ==================================================================== -->
<!-- Mail Connection Factory -->
<!-- ==================================================================== -->
<!-- OpenKM -->
<mbean code=\"org.jboss.mail.MailService\" name=\"jboss:service=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=\"mail.vabi.nl\"/>
<property name=\"mail.from\" value=\"info@vabi.vl\"/>
<property name=\"mail.debug\" value=\"false\"/>
</configuration>
<depends>jboss:service=Naming</depends>
</attribute>
</mbean>
</server>
C:\\OpenKM-1.2_JBoss-4.0.3SP1\\OpenKM-1.2_JBoss-4.0.3SP1\\server\\default\\conf
emails.properties:
Code: Select all
Finaly i have edited the OpenKM.cfg wich is located at:
system=leone.peter@gmail.com
user1=p.leone@vabi.nl
user2=leone.peter@gmail.com
user3=p.leone@vabi.nl
EBoom=leone.peter@gmail.com
JMuis=p.leone@vabi.nl
VKok=leone.peter@gmail.com
C:\\OpenKM-1.2_JBoss-4.0.3SP1\\OpenKM-1.2_JBoss-4.0.3SP1
and added this line:
application.url=http://localhost:8080/OpenKM/es.git.ope ... /index.jsp
as far as i can tell i should work the server log is:
Code: Select all
can you see what i have done wrong or have forgotten to do?2008-02-18 15:05:42,390 INFO [STDOUT] javax.mail.SendFailedException: Sending failed;
nested exception is:
class javax.mail.SendFailedException: Invalid Addresses;
nested exception is:
class javax.mail.SendFailedException: 550 5.7.1 Unable to relay for leone.peter@gmail.com
;
nested exception is:
class javax.mail.SendFailedException: 550 5.7.1 Unable to relay for leone.peter@gmail.com
;
thanks
Peter