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 c6ab039b968a94c0c44a4d820a7ed5984c289a7b..43e4a06cb413eb311a2d80009adf60d441bcf1e9 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"); } /**