24 $groupName = substr($address->
getMailbox(), 1);
40 return (
$host == $this->host || 0 === strlen(
$host));
An exception for terminatinating execution or to throw for unit testing.
isHostValid($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.
static groupNameExists($a_group_name, $a_id=0)
checks if group name already exists.