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 unable to pick Delivery Status Notification Email

SA-7536

Summary



PRPC 6.3 SP1 unable to read DSN email when the DSN messages check box available in the Process Tab of a Email Listener rule is checked. It gets added to the error count when such a request arrives in the system. There is no difference between checking and unchecking this check box.

Error Messages



Request is going to Error state when listener is trying to pick a DSN email.

Steps to Reproduce

  1. Configure an Email Listener to include DSN emails. 
  2. Listen to the inbox containing DSN email.
  3. Verify whether system is able to read the message and create an interaction.

Root Cause



After enabling debug level logging for emaillistener class, the  below exception was observed.

MAIL.CSSGListener.Listener|from(your_email@your_domain) - Messages are not processed. 
javax.mail.MessagingException: Unable to load BODYSTRUCTURE 
at com.sun.mail.imap.IMAPMessage.loadBODYSTRUCTURE(IMAPMessage.java:1280) 
at com.sun.mail.imap.IMAPMessage.getContentType(IMAPMessage.java:443) 
at javax.mail.internet.MimeBodyPart.isMimeType(MimeBodyPart.java:1059) 
at javax.mail.internet.MimeMessage.isMimeType(MimeMessage.java:965) 
at com.pega.pegarules.integration.engine.internal.services.email.EmailListener.handleRequest(EmailListener.java:1919) 
at com.pega.pegarules.integration.engine.internal.services.email.EmailListener.emailProcess(EmailListener.java:1712) 
at com.pega.pegarules.integration.engine.internal.services.email.EmailListener.oneIteration(EmailListener.java:1181) 
at com.pega.pegarules.integration.engine.internal.services.email.EmailListener.run_(EmailListener.java:1137)



This can be worked around by creating a new copy of message for this call. 

Resolution



HFix-21272 contains the changes suggested in above Oracle article.

Published January 31, 2016 - 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