Problems with connecting to SMTP server

# > Public Section (English) > Support > Problems with connecting to SMTP server

Description

Hello PK Team!

We have encountered problems after changing configuration of our SMTP server. He have found that PK is trying to connect to port 25 instead of port value provided in configuration. We are using version 19.0.

Error received
com.triniforce.server.plugins.kernel.services.Mailer 2016-10-11 21:31:16 ERROR com.triniforce.server.plugins.kernel.services.Mailer  - Error sending mail, mail is skipped
javax.mail.MessagingException: Exception reading response;
  nested exception is:
	javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
	at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1611)
	at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1369)
	at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:412)
	at javax.mail.Service.connect(Service.java:288)
	at com.triniforce.server.plugins.kernel.services.Mailer.createConnectedTransport(Unknown Source)
	at com.triniforce.server.plugins.kernel.services.Mailer$1.run(Unknown Source)
	at com.triniforce.utils.InSeparateThreadExecutor$1.run(InSeparateThreadExecutor.java:42)
	at java.lang.Thread.run(Unknown Source)
Caused by: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
	at sun.security.ssl.InputRecord.handleUnknownRecord(Unknown Source)
	at sun.security.ssl.InputRecord.read(Unknown Source)
	at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
	at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
	at sun.security.ssl.SSLSocketImpl.readDataRecord(Unknown Source)
	at sun.security.ssl.AppInputStream.read(Unknown Source)
	at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:110)
	at java.io.BufferedInputStream.fill(Unknown Source)
	at java.io.BufferedInputStream.read(Unknown Source)
	at com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:88)
	at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1589)

We have tested SMTP server and mail clients works OK with new configuration.

Comments

10/12/16 8:02 AM maxim.ge

Looks like you are right, will try to fix

Project Kaiser Team
5/31/17 3:47 PM maxim.ge

Hopefully it is fixed in build 22.0

Project Kaiser Team
Copyright(c) Triniforce 2006-2018
Created: Tobek 10/11/16 5:38 PM; Modified: maxim.ge 9/23/18 2:40 PM
This is print-friendly version of "Problems with connecting to SMTP server".
Powered by Project Kaiser - Project management and issue tracking software
User:Guest