소스 검색

Beria merge the existing SMTP to M65, with TLS

master
MSI\2Fi 3 달 전
부모
커밋
69e22d2b2c
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      src/main/java/com/ffii/tsms/modules/common/mail/service/MailSenderService.kt

+ 2
- 2
src/main/java/com/ffii/tsms/modules/common/mail/service/MailSenderService.kt 파일 보기

@@ -29,8 +29,8 @@ open class MailSenderService(private val settingsService: SettingsService) {
}
props["mail.smtp.auth"] = auth
// The below setting needs to be included when the SMTP has TLS Version
// props["mail.smtp.starttls.enable"] = "true"
// props["mail.smtp.ssl.protocols"] = "TLSv1.2"
props["mail.smtp.starttls.enable"] = "true"
props["mail.smtp.ssl.protocols"] = "TLSv1.2"

sender.host = config.host
sender.port = config.port!!


불러오는 중...
취소
저장