This commit is contained in:
Ionut-Mihai Burlacu 2017-09-21 14:33:10 +03:00
parent c3a612aa94
commit 3bc55f6341

View file

@ -70,7 +70,7 @@ class CakeEmail {
*
* @var string
*/
const EMAIL_PATTERN = '/^((?:[\p{L}0-9.!#$%&\'*+\/=?^_`{|}~-]+)*@[\p{L}0-9-.]+)$/ui';
const EMAIL_PATTERN = '/^((?:[\p{L}0-9.!#$%&\'*+\/=?^_`{|}~-]+)*@[\p{L}0-9-_.]+)$/ui';
/**
* Recipient of the email