[
https://issues.apache.org/jira/browse/KYLIN-4515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17182212#comment-17182212
]
Shao Feng Shi commented on KYLIN-4515:
--------------------------------------
In Email.java, I see:
{code:java}
// code placeholder
if (this.isSSLOnConnect()) {
properties.setProperty("mail.smtp.port", this.sslSmtpPort);
properties.setProperty("mail.smtp.socketFactory.port", this.sslSmtpPort);
properties.setProperty("mail.smtp.socketFactory.class",
"javax.net.ssl.SSLSocketFactory");
properties.setProperty("mail.smtp.socketFactory.fallback", "false");
}
{code}
So I think you're correct, we need to set SSLOnConnect as well.
> could not send mail on ssl port
> -------------------------------
>
> Key: KYLIN-4515
> URL: https://issues.apache.org/jira/browse/KYLIN-4515
> Project: Kylin
> Issue Type: Bug
> Components: Job Engine
> Affects Versions: v3.0.1
> Reporter: CHEN Qing
> Priority: Minor
> Labels: pull-request-available
> Fix For: v3.0.1
>
>
> Here is context of this
> problem:[https://www.mail-archive.com/[email protected]/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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)