|
@@ -29,8 +29,8 @@ open class MailSenderService(private val settingsService: SettingsService) { |
|
|
} |
|
|
} |
|
|
props["mail.smtp.auth"] = auth |
|
|
props["mail.smtp.auth"] = auth |
|
|
// The below setting needs to be included when the SMTP has TLS Version |
|
|
// 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.host = config.host |
|
|
sender.port = config.port!! |
|
|
sender.port = config.port!! |
|
|