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 sporadically fails with connection reset error



Email listener sporadically fails with connection reset error.

Error Messages

[.PegaWorkManager : 4] [ STANDARD] [ ] [ PegaRULES:07.10] ( ERROR EMAIL.your_EmailListener.Listener - Caught exception while connecting to email server(s)
javax.mail.MessagingException: Connect failed;
nested exception is: Connection reset
at com.sun.mail.pop3.POP3Store.protocolConnect(
at javax.mail.Service.connect(
Caused by: Connection reset

Steps to Reproduce


Root Cause

A defect or configuration issue in the operating environment. Enabling debug on '' and capturing network data, displayed that the Pega application received a response from the email server after 60 seconds from the initial connection attempt. Hence, the process had timed out.


Perform the following local-change:

Create a Dynamic System Setting to increase the timeout:

Owning Ruleset: Pega-IntSvcs
Purpose: email/timeout
Value: <timeout in milliseconds>

Published April 26, 2018 - 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