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



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( 
at com.sun.mail.imap.IMAPMessage.getContentType( 
at javax.mail.internet.MimeBodyPart.isMimeType( 
at javax.mail.internet.MimeMessage.isMimeType( 

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


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