This chapter describes how to configure EDQ to produce email notifications in a number of situations.
Emails can be sent to EDQ users when relevant issues are created or changed, when relevant cases or alerts in Case Management are added or modified, or when relevant jobs are finished running.
To send email notifications, the Simple Mail Transfer Protocol (SMTP) information for your EDQ installation must be entered in the mail.properties
file. This file is stored in /oedq_home/notification/smtp
.
Copy the mail.properties
file from its installed location of edq_home/notification/smtp
to the notification/smtp
sub-directory of the local configuration directory (oedq_local_home
by default).
/
oedq_local_home
/notification/smtp
This file is in the standard Java mail.properties
file format, as documented at the JavaMail API documentation website found at https://javamail.java.net/nonav/docs/api/
.
Edit the mail.properties
file as follows, supplying the name of your SMTP host at the site.
enabled = true mail.transport.protocol = smtp mail.host = smtp.fully qualified domain name of mail host mail.user = depends on client site mail.password = depends on client site from.address = [email protected]
As an alternative to using SMTP, you can use a Java Naming and Directory Interface (JNDI) session by configuring the following properties:
session = JNDI name of session from.address = [email protected]
Note:
For email notifications to work correctly, you must ensure that thefrom.address
property is set to a valid email format for your site. You must also ensure that each of your users who will be receiving email notifications has an email address configured in their profile.To check that email notifications are working correctly, create a test issue in Director and assign it to a user with a configured email address. The user should receive an email with a link to the issue.