From 7569b2e23c21618e6e2c20006bf7f286f0e23a81 Mon Sep 17 00:00:00 2001
From: Darshan Nagesh <44081694+darshu790@users.noreply.github.com>
Date: Fri, 11 Nov 2022 13:39:05 +0530
Subject: [PATCH] Updated SendMail Configurations

Updated the configurations for the Send Mail by setting starttls enabled as True
---
 .../tarento/formservice/utils/NotificationService/SendMail.java  | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/main/java/com/tarento/formservice/utils/NotificationService/SendMail.java b/src/main/java/com/tarento/formservice/utils/NotificationService/SendMail.java
index c6ab039..43e4a06 100644
--- a/src/main/java/com/tarento/formservice/utils/NotificationService/SendMail.java
+++ b/src/main/java/com/tarento/formservice/utils/NotificationService/SendMail.java
@@ -59,6 +59,7 @@ public class SendMail {
 		props.put("mail.smtp.socketFactory.port", appConfig.getSmtpPort());
 		props.put("mail.smtp.auth", appConfig.getSmtpAuth());
 		props.put("mail.smtp.port", appConfig.getSmtpPort());
+		props.put("mail.smtp.starttls.enable", "true");
 	}
 
 	/**
-- 
GitLab