This commit is contained in:
Ionut-Mihai Burlacu 2017-09-21 14:30:51 +03:00
parent c3a612aa94
commit 0bea90a5a2

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