Error invoking SendEmailMessage function
An error occurs when sending an email using the SendEmailMessage function.
Problem invoking function: pega_integrationengine_default.SendEmailMessage--(ClipboardPage)
Steps to Reproduce
Run an activity or process that calls the SendEmailNotification activity.
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.
100% found this useful