chenqingspring opened a new pull request #1214: URL: https://github.com/apache/kylin/pull/1214
## Proposed changes Here is context of this problem:https://www.mail-archive.com/user@kylin.apache.org/msg04009.html When I set `starttlsEnabled` to true, and specify a ssl port as 465, the email could not be sent by this ssl port. It still use 25 default port. The root cause is, with such config above, HTMLEmail client doesn't enable ssl connection, so we need to enable ssl connection by `setSSLOnConnect` as well when using ssl port. ## Types of changes [Bugfix] fix error with sending mail on ssl ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org