27 return \ilUtil::groupNameExists($groupName);
41 $groupName = substr($address->
getMailbox(), 1);
58 return ($host == $this->host || 0 === strlen($host));
__construct(string $host, callable $groupNameCheckCallable=null)
Class ilGroupNameAsMailValidator.
isHostValid(string $host)
Checks if the given host is valid in the email context.
validate(\ilMailAddress $address)
Validates if the given address contains a valid group name to send an email.