Messaging protocol with TLS is not working with clarity
search cancel

Messaging protocol with TLS is not working with clarity


Article ID: 252067


Updated On:


Clarity PPM On Premise


Emails stop working while changing the messaging protocol in clarity

App logs:

at com.sun.mail.smtp.SMTPTransport.issueSendCommand ( at com.sun.mail.smtp.SMTPTransport.mailFrom(

at com.sun.mail.smtp.SMTPTransport.sendMessage( at javax.mail. Transport.sende ( at javax.mail.Transport.send(

at com.niku.union.notification.MailMessage.send( at

at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker( at java.base/java.util.concurrent.ThreadPoolExecutor$ at java.base/

DEBUG 2822-07-21 14:46:18,863 [pool-8-thread-7] notification.MailMessage (none:none:none:none) send failed

DEBUG: 2022-07-21 14:51:02,872 [pool-8-thread-9] notification.MailMessage (none:none:none:none)

MailMessage.send() Send failed com.sun.mail.smtp.SMTPSendFailedException: 530 Authentication required


Release 15.9.1


TLS was enabled on email service. Limitation in clarity 15.9.1 where the system is hard-coded to use SMTP port 25 and it will not work for TLS protocol. 


The best option at this 15.9.x stage would be to upgrade to Clarity 16.0.3 where the code supports custom mail server ports and authentication set to true.