You can check the source code in MailService.java as below: Email email = new HtmlEmail(); email.setHostName(host); email.setStartTLSEnabled(starttlsEnabled); if (starttlsEnabled) { email.setSslSmtpPort(port); } else { email.setSmtpPort(Integer.parseInt(port)); }
If "kylin.job.notification-mail-enable-starttls" set to true, it will set the SSL SMTP Port to the value of "kylin.job.notification-mail-port", not setting the SMTP port. I'm not sure how that was written. In your case, you can true to set the "startttls" to false and then try again. Or you can modify the code to update all these two ports when StartTLS enabled. Best regards, Shaofeng Shi 史少锋 Apache Kylin PMC Email: shaofeng...@apache.org Apache Kylin FAQ: https://kylin.apache.org/docs/gettingstarted/faq.html Join Kylin user mail group: user-subscr...@kylin.apache.org Join Kylin dev mail group: dev-subscr...@kylin.apache.org Khalil Mejdi <khalil.mejd...@gmail.com> 于2019年8月7日周三 上午3:17写道: > Hello again, > > I am not sure if you saw my previous reply but that's okay, I think you > need to restart *kylin* or *reload* *config* from the *System* section, > or you need to check if you have the privilege to use that smtp, cause > some smtp needs to be activated to be able to use them freely. > else check the smtp provider settings... > > (as for your question you should change kylin.properties settings) > Best Regards > > > > Khalil Mejdi > Middle Developer > > [image: Logo] <https://www.smart-etech.tn/> > P: +216 27 782 201 > khalilme...@istic.u-carthage.tn - www.smart-etech.tn > Technopark Borj Cedria > [image: Facebook icon] <https://www.facebook.com/eTechSmart/> [image: > LinkedIn icon] <https://www.linkedin.com/company/smart-etech> > > > > On Wed, Aug 7, 2019 at 10:46 AM 高扬02 <gaoyan...@bianfeng.com> wrote: > >> Hello, >> >> >> >> I have set the mail-port , but it is still 25 . Please tell me where to >> modify it. >> >> Thank you very much. >> >> >> >> Best regards, >> >> YangGao >> >> >> >> [image: cid:image001.png@01D54D47.EBD9BD70] >> >> >> >> [image: cid:image002.png@01D54D47.EBD9BD70] >> >