• Модуль: mail
  • Путь к файлу: ~/bitrix/modules/mail/lib/user.php
  • Класс: BitrixMailUser
  • Вызов: User::parseEmailRecipient
static function parseEmailRecipient($to)
{
	if (!preg_match('/^(?rpl|fwd)(?[a-z0-9]+)@(?.+)/i', $to, $matches))
	{
		return false;
	}
	return $matches;
}