This Article helps the user to set up their email notification configuration for the EBX application.
Resolution
1. Login into your existing application. Go to the section : Administration ->Workflow management ->Workflows ->Configuration ->Email parameters Here Please define -> From email: Email of the sender. This field is required for email notification. If it is not defined, sending an email will fail. and URL definition This URL is used to build links and value mail variables in the workflow. If this field is not defined, the link variables will not be evaluated. Example: "http://localhost:8080/ebx/"
2. Go to the properties file of the application i.e ebx.properties In Files go to the section -> SMTP and emails a. Set the flag ebx.mail.activate to true -> ebx.mail.activate=true b. Set the flag ebx.mail.smtp.host to point your domain example: ebx.mail.smtp.host = smtp.domain.com c. Set the flag ebx.mail.smtp.port to the port which is defined example: ebx.mail.smtp.port= 25 There are few more optional properties regarding Activate SSL which can be configured depending upon the needs.
3. Now we can test this configuration by simply defining any user task (Using the notification section) or by defining the Script task and using the [built-in] Send an email library. We must have the message template denied that we need to send to the end-user. And parallel we need to make sure that the profile which we are offering the user task has the email id defined for its user. In case of a script task, we must have the email defined for the user/profile which we are selecting in the section Email recipient.
We can monitor mail.log to monitor the mailing activity.