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

Error invoking SendEmailMessage function



An error occurs when sending an email using the SendEmailMessage function.

Error Messages

Problem invoking function: pega_integrationengine_default.SendEmailMessage--(ClipboardPage)
java.lang.ClassNotFoundException: com.pegarules.generated.SendEmailMessage_071015_ai7uXdDX6AsHbgtRqmJ0uw

Steps to Reproduce

Run an activity or process that calls the SendEmailNotification activity.

Root Cause

An issue in the custom application code or rules.

The issue occurred because the pdfbox-app-2.0.0-RC1.jar file imported for custom functionality contained a different version of the org.bouncycastle.mail.smime.SMIMESignedGenerator class.

The methods used by the SendEmailMessage function were not in this version of the class. The methods referenced have been deprecated.


Enhancement request FDBK-15108 has been submitted to review the SendEmailMessage function.

To continue using the code in the pdfbox-app-2.0.0-RC1.jar file, one option, is to create own library and version of the SendEmailMessage function.
One must update the function to call the appropriate methods provided in your version of the SMIMESignedGenerator class and then update the activities to call your version of the function.

In addition, to that remove the pdfbox-app-2.0.0-RC1.jar from the database and place it on the application server instead so that one can be certain of the class version is loaded.


Published July 23, 2018 - Updated October 8, 2020

Was this useful?

100% 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