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 does not forward unprocessed emails

SA-21699

Summary



Email Listener does not forward unprocessed messages. An exception appears in logs.

Error Messages



( services.email.EmailListener) ERROR EMAIL.Your_Listener.Listener - caught java.lang.NullPointerException when processing message number 0
java.lang.NullPointerException
at com.pega.pegarules.integration.engine.internal.services.email.EmailListener.connectTransport(EmailListener.java:4740)
at com.pega.pegarules.integration.engine.internal.services.email.EmailListener.sendAdminMessage(EmailListener.java:4913)

Steps to Reproduce



Configure Email listener with conditions given below:
  1. Select Forward unprocessed messages, and enter forwarding email address.
  2. Enter maximum email size in the Process tab.
  3. Send an email with size more than what is mentioned in Process tab for email listener.


Root Cause



A defect in Pegasystems’ code or rules. Pega code throws NullPointerException with dynamic system setting email/blockResponse as True when forwarding unprocessed emails to the configured email account.

Resolution



Perform the following local-change:
Set dynamic system setting
email/blockResponse to False in Pega-IntSvcs, and restart the listener.
Suggest Edit

Published April 6, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

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