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

Incorrect validation of email addresses



An application is built on the Pega Service case Manager for Financial Services.

User needs to create an outbound email rule which contains in the "From" field an address like this: [email protected]ch.

When the user try to save the rule they get a validation error.

Error Messages

User interface shows the following message:
"Please enter a valid sender email address"

Steps to Reproduce

  1. Create an outbound email rule.
  2. Use in the "From" field an email address which ends with an extension that has a length of 2 (for example [email protected]).

Root Cause

There is bug in the ValidEmailAddress validate rule defined in the PegaFSSCM:07-21-01 ruleset.

This error is triggered by the Edit validate rule "ValidEmailAddress" , that checks if the last part of an email (in this case "ch") has a length more than or equal to 2.


Perform the following local-change:
  1. Resave the Edit Validate rule in to the application ruleset.
  2. Modify the code to change the logic from:
if( lastToken.length() <=2) return false;


if( lastToken.length() <2) return false;

Published March 16, 2017 - Updated December 2, 2021

Was this useful?

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