Error when validating email address using Workflow Email Action


Description

When using Email Action for workflow commands or states for notifying users about workflow changes, the incorrect validation error similar to the following may occur when specifying a valid email addresses in the To or From fields of the Email Action item:

'test@test.domain.com' does represent a valid e-mail address.

Solution

To resolve these issues, follow the steps below:

  1. Find the following items in the master database:
    /sitecore/templates/System/Workflow/Email action/Data/To
    /sitecore/templates/System/Workflow/Email action/Data/From
  2. Change the Validation field of the above items to:
    ^([_a-zA-Z0-9-]+(\.[_a-zA-Z0-9-]+)*@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)*(\.[a-zA-Z]{2,4}))$
  3. Change the ValidationText field of the above items to:
    '$Value' does not represent a valid e-mail address.