Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Email Listener fails to start with PRException



Email Listener fails to start with PRException. This occurs post upgrading the email server to MS Exchange 2013 and using the IMAP protocol for inbound processing.

Error Messages

00000016 SystemOut 16:10:32,682 [nectorThreadPool : 4] [ STANDARD] [ ] (tener.ListenerStateManagerImpl) ERROR - Unexpected exception. Failed to connect to
From: (BCDF6010B5B2E32C363D0F31E261DA779:(MBean Access))
Caused by:
javax.mail.MessagingException: Exception reading response;
nested exception is: Unrecognized SSL message, plaintext connection?
at com.sun.mail.smtp.SMTPTransport.readServerResponse(
at com.sun.mail.smtp.SMTPTransport.openServer(
at com.sun.mail.smtp.SMTPTransport.protocolConnect(
at javax.mail.Service.connect(
at javax.mail.Service.connect(
... 57 more
Caused by: Unrecognized SSL message, plaintext connection?
at com.sun.mail.util.LineInputStream.readLine(
at com.sun.mail.smtp.SMTPTransport.readServerResponse(
... 63 more

Steps to Reproduce

In the Email Server instance, give the IP address of SMTP 2013 Exchange Server using IMAP with SSL checked by adding port 993 and send an email using this account . Email is not sent from the system.

Root Cause

Issue with the SSL handshake. The Mail Box server requires SSL, while the SMTP MTA does not accept SSL. In PRPC 6.2SP1, SMTP is configured implicitly with the settings for IMAP/POP3.


Perform the following local-change:

1. Add the following additional settings for SMTP to the 'Advanced' tab of the Email Server rule:
  • mail.smtp.auth.plain.disable = false
  • mail.smtp.starttls.emable = false
  • mail.smtp.starttls.required = false

2. Create a new EmailServer rule where the 'Use SSL' is not checked
3. Add this server to the EmailListener rule, in the field "Send Reply via Email Server"

Alternatively, the set Dynamic System Setting 'email/blockResponse' (Owning Ruleset: Pega-IntSvcs). With this setting, all EmailListeners in the system are disabled from sending any notifications, and therefore, no connection with SMTP MTA is established.


Published August 19, 2019 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us