cancel
Showing results for 
Search instead for 
Did you mean: 

Mail configuration

alfa
Champ in-the-making
Champ in-the-making
Hi,

How can configure mail host in activiti-explorer?

Best regards,
3 REPLIES 3

frederikherema1
Star Contributor
Star Contributor
Alter the spring-config in the war-file (WEB-INF), check the userguide for the relevant property names.

alfa
Champ in-the-making
Champ in-the-making
Many thanks,

I check the user guide and the property is:

<property name="mailServerHost" value="my_host_value" />

but, What is the bean id and class in aplicattionContext?.

In the datasource configuration the bean and class are <bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource">

Best regars,

alfa
Champ in-the-making
Champ in-the-making
applicationContext.xml:

  <bean id="processEngineConfiguration" class="org.activiti.spring.SpringProcessEngineConfiguration">
   <property name="dataSource" ref="dataSource" />
   <property name="transactionManager" ref="transactionManager" />
   <property name="databaseSchemaUpdate" value="true" />
   <property name="jobExecutorActivate" value="true" />
        <property name="customFormTypes">
    <property name="mailServerHost" value="host_value" />
        <property name="mailServerPort" value="port_value" />
        <property name="mailServerUsername" value="username_value" />
         <property name="mailServerPassword" value="password_value" />


      <list>
        <ref bean="userFormType"/>
      </list>
    </property>
  </bean>


Many thanks,