Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Activiti engine sends e-mails through using an external mail server with SMTP capabilities. Following properties should be set in the activiti.xml configuration file in your server. For example settings , we are using gmail server configuration settings.


<property name="mailServerHost" value="smtp.gmail.com"/>
<property name="mailServerPort" value="587"/>
<property name="mailServerDefaultFrom" value="mailtasktest1@gmail.com"/>
<property name="mailServerUseTLS" value="true"/>
<property name="mailServerUsername" value="mailtasktest1@gmail.com"/>
<property name="mailServerPassword" value="mailtask123"/>

In <property name="mailServerDefaultFrom" value=”email of the sender”> include the default address of the sender in case you don't specify the sender in the mail task properties. email : mailtasktest1@gmail.com
password:mailtask1

In Following two properties specify the username and password of the sender for authentication purposes. 

<property name="mailServerUsername" value="mailtasktest1@gmail.com"/>
<property name="mailServerPassword" value="mailtask123"/>
specify the username and password of the sender for authentication purposes.

Here you should include the email address and the password you specified in the “from” field of the mail task.

...