Email addresses can be skipped during dispatch because of incorrect address validation


Description

Recipient email addresses that contain numbers or capital letters can be skipped during dispatch with the following notification:

Message 'MESSAGE_NAME': Recipient is skipped. 'EMAIL' is not a valid email address.

This issue affects EXM 3.4.0.

Solution

To fix the problem, update the EmailValidation setting in the \App_Config\Include\EmailExperience\Sitecore.EmailExperience.Core.config file with the following value:

<setting name="EmailValidation" value="[\p{L}0-9\+\-_\!\$\%\&amp;\*\?]+(?:\.[\p{L}0-9\+\-_\'\!\$\%\&amp;\*\?]+)*@(([\p{L}0-9\-]+(?:\.[\p{L}0-9]+)+)|(\[\d{1,3}(\.\d{1,3}){3}\]))$" />