LinkedIn
Copied!

OPS0032: Email processing has failed because of a 'javax.mail.*' exception

Pega Predictive Diagnostic Cloud™ (PDC) generates the OPS0032 event when an application cannot process inbound emails because of a javax.mail.* exception.

Reason for the event

When a javax.mail.* exception occurs while an application processes inbound emails, PDC generates an OPS0032 event and creates an EmailMessaging case. You can receive a notification for each occurrence of this event.

Example message text

[MSG][Unable to determine DSN][STACK][com.pega.platform.integrationcore.client.email.EmailClientRuntimeException: Unable to load BODYSTRUCTURE
 at com.pega.platform.integrationcore.client.email.internal.javamail.JavaMailMIMEMessage.isMimeType(JavaMailMIMEMessage.java:283)
 at com.pega.pegarules.integration.engine.internal.services.email.EmailMessageFilter.isDSN(EmailMessageFilter.java:110)
 at com.pega.pegarules.integration.engine.internal.services.email.EmailMessageFilter.applyFilters(EmailMessageFilter.java:61)
 at com.pega.pegarules.integration.engine.internal.services.email.EmailActionImpl.execute(EmailActionImpl.java:119)
 at com.pega.pegarules.integration.engine.internal.services.email.EmailPollerStrategyImpl.processEmails(EmailPollerStrategyImpl.java:262)
 at com.pega.pegarules.integration.engine.internal.services.email.EmailPollerStrategyImpl.runOnce(EmailPollerStrategyImpl.java:153)
 at com.pega.pegarules.integration.engine.internal.services.email.EmailPollerStrategyImpl.run(EmailPollerStrategyImpl.java:102)
 at com.pega.pegarules.integration.engine.internal.services.email.EmailListener.run_(EmailListener.java:535)
 at com.pega.pegarules.integration.engine.internal.services.listener.ServiceListenerBaseImpl.run(ServiceListenerBaseImpl.java:454)
 at java.lang.Thread.run(Thread.java:748)
Caused by: javax.mail.MessagingException: Unable to load BODYSTRUCTURE
 at com.sun.mail.imap.IMAPMessage.loadBODYSTRUCTURE(IMAPMessage.java:1488)
 at com.sun.mail.imap.IMAPMessage.getContentType(IMAPMessage.java:556)
 at javax.mail.internet.MimeBodyPart.isMimeType(MimeBodyPart.java:1160)
 at javax.mail.internet.MimeMessage.isMimeType(MimeMessage.java:1016)
 at com.pega.platform.integrationcore.client.email.internal.javamail.JavaMailMIMEMessage.isMimeType(JavaMailMIMEMessage.java:281)
 ... 9 more
]

Recommended next steps

To resolve javax.mail.* exceptions, contact your email administrator and your application support team. If you are a Pega Cloud® Services client, contact Pega Support.

Suggest Edit

Related Content

Have a question? Get answers now.

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