Support Article
Service level agent fails to send email but is updated a success
SA-10642
Summary
A service level agent fails to send an email as designed; but the case is still updated as successful.
Error Messages
2015-05-06 01:50:44,766 [abc_prweb,maxpri=10]] [ STANDARD] [ PegaRULES:06.03] (n.ABC_XYZ_Work_PQR.Action) INFO - Corr Update failed
2015-05-06 01:50:44,888 [abc_prweb,maxpri=10]] [ STANDARD] [ PegaRULES:06.03] (pega_integrationengine_default) ERROR - Unexpected exception caught while trying to send an email message.
javax.mail.internet.AddressException: Illegal address in string ``''
at javax.mail.internet.InternetAddress.<init>(InternetAddress.java:108)
at com.pegarules.generated.SendEmailMessage_060301_QsQ8aHDPfHDWdFzadW7ALQ.SendEmailMessage06_03_01(SendEmailMessage_060301_QsQ8aHDPfHDWdFzadW7ALQ.java:303)
at com.pegarules.generated.SendEmailMessage_060301_QsQ8aHDPfHDWdFzadW7ALQ.invoke(SendEmailMessage_060301_QsQ8aHDPfHDWdFzadW7ALQ.java:87)
at com.pega.pegarules.generation.internal.library.LibraryRuntime.resolveAndinvokeFunctionViaReflection(LibraryRuntime.java:132)
at com.pega.pegarules.generation.internal.library.LibraryRuntime.invokeLibraryRuntime(LibraryRuntime.java:109)
at com.pega.pegarules.session.internal.mgmt.Executable.invokeLibraryRuntime(Executable.java:8053)
at com.pega.pegarules.priv.generator.LibrarySupport.resolveAndInvokeFunctionViaReflection(LibrarySupport.java:181)
at com.pegarules.generated.pega_integrationengine_default.SendEmailMessage(pega_integrationengine_default.java:149)
at com.pegarules.generated.activity.ra_action_sendemailnotification_e431bfe12e014fd73034ad04d8a4d15d.step6_circum0(ra_action_sendemailnotification_e431bfe12e014fd73034ad04d8a4d15d.java:998)
at com.pegarules.generated.activity.ra_action_sendemailnotification_e431bfe12e014fd73034ad04d8a4d15d.perform(ra_action_sendemailnotification_e431bfe12e014fd73034ad04d8a4d15d.java:170)
Steps to Reproduce
Call the activity SendSimpleEmail with the required parameter from an activity.
Root Cause
The root cause of this problem is that there is no email account configured for class group or Default.
Resolution
This issue is resolved through the following Local-change. Create an email account for the class group or configure the Default email account as mentioned in the developer help.

Published June 17, 2015 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.