O'Reilly logo

Activiti 5.x Business Process Management Beginner's Guide by Irshad Mansuri, Dr. Zakir Laliwala

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action – configuring the mail server

We can send an e-mail using Activiti. Activiti provides an e-mail task to send a number of e-mails. It can be possible using an external mail server with SMTP. The e-mail task is implemented as a service task in Activiti. To send an e-mail, we have to configure some properties of e-mails for the Activiti Engine.

To send real e-mails, we have to configure the following properties in activiti-standalone-context.xml:

  • mailServerHost: This property is used to define the hostname of your mail server
  • mailServerPort: This property is used to define a port for the SMTP server
  • mailServerDefaultFrom: This property is used to set a default e-mail address
  • mailServerUsername: This property is used to specify a username ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required