How to Send Mail From Camunda to the SMTP Server

Camunda exposes a mail interface to connect with SMTP using Camunda-bpm-mail-core library as a dependency in POM.xml file. Here Camunda acts as a mail client.

Prerequisites

  • Eclipse (any version) with Maven capabilities
  • Java 8+
  • SMTP Mail Server
  • Camunda

Installing Eclipse-IDE on Windows

  1. Click on the link: https://www.eclipse.org/downloads/download.php?file=/oomph/epp/2020-09/R/eclipse-inst-jre-win64.exe
  2. Download the eclipse-inst-jre-win64.exe file and run the eclipse installer.Run the installer
  3. Select Eclipse IDE for Eclipse committers and install.Set Eclipse IDE

Creating a Maven Project in Eclipse IDE

  • Open the Eclipse IDE
  • Go to File  > New > Project:

Go to File and select new project