JBPM3 mail configuration
From OpenKM Documentation
Revision as of 18:44, 25 January 2010 by Pavila (talk | contribs) (Created page with 'jBPM configuration file is located at $JBOSS_HOME/server/default/deploy/OpenKM.war/WEB-INF/classes/jbpm.cfg.xml. If you edit this file, you will see something like this: <source…')
jBPM configuration file is located at $JBOSS_HOME/server/default/deploy/OpenKM.war/WEB-INF/classes/jbpm.cfg.xml. If you edit this file, you will see something like this:
<string name="jbpm.mail.smtp.host" value="smtp.your-domain.com " />
<string name="jbpm.mail.from.address" value="noreply@your-domain.com" />
<string name="resource.mail.templates" value="jbpm.mail.templates.xml"/>
<bean name="jbpm.mail.address.resolver" class="com.openkm.workflow.OKMAddressResolver" singleton="true"/>
As in JBoss mail configuration, you have to edit a couple of properties:
- jbpm.mail.smtp.host: this is the host where is located your mail server. Can be localhost if you have a local mail server installed (like Postfix) Typically the same value of mail.smtp.host.
- jbpm.mail.from.address: all the mails send by OpenKM will be from this mail. Can be in the form of noreply@your-domain.com. Typically the same value of mail.from.
jBPM notify you when a task has been assigned to you or when he wants to send you a reminder. These mail templates are defined in the file jbpm.mail.templates.xml which is located at the same place of the previous one. Here you can define a more elegant mail message. Also you have to configure a parameter here:
- BaseTaskListURL: a value in the form of http://your-domain.com:8080/OpenKM.
For more info, read http://docs.jboss.com/jbpm/v3.2/userguide/html/mail.html.