Skip to content

Notification Service

KanchanaAradhya edited this page Jun 20, 2019 · 16 revisions

Notification Service

Notification will allow users to send Issue- Asset details in a email.Also while sending the autofix mails. It supports both open and non open relay servers.

Open relay server configurations

Non open relay server configurations

Open Relay Server

Configuration steps for open relay server

Step 1:

Go to the table pac_config_properties, find the below cfkey's and update the values as follows.

spring.mail.host = Enter the mail server
spring.mail.port = Enter the port
spring.mail.protocol = smtp 
spring.mail.defaultEncoding = UTF-8 
spring.mail.username = Enter the mail address, it can be your from mail address
spring.mail.password = Since it is a open relay server, you don't have to give the password or you can enter dummy value
spring.mail.properties.mail.smtp.auth = you can make it true or false
spring.mail.properties.mail.smtp.ssl.trust = Enter the mail server
spring.mail.properties.mail.smtp.starttls.enable = true
spring.mail.test-connection = false
 

Non Open Relay Server

Configuration steps for non open relay server

Step 1:

Go to the table pac_config_properties, find the below cfkey's and update the values as follows.

spring.mail.host = Enter the mail server
spring.mail.port = Enter the port
spring.mail.protocol = smtp 
spring.mail.defaultEncoding = UTF-8 
spring.mail.username = Enter the mail address, it can be your from mail address
spring.mail.password = Enter the password 
spring.mail.properties.mail.smtp.auth = true
spring.mail.properties.mail.smtp.ssl.trust = Enter the mail server
spring.mail.properties.mail.smtp.starttls.enable = true
spring.mail.test-connection = false
 

Steps to go to Issue Details Page

Step 1:

Go to the overview page and click on the total violations

Step 2:

Click on any of the issue id and click on the email issue icon

Step 3:

Enter the from and to addresses and click send,then you will see mail sent successfully message