19 declare(strict_types=1);
39 $group_name = substr($address->
getMailbox(), 1);
47 return ($host === $this->host || $host ===
'');
$group_name_check_callable
__construct(protected string $host, ?callable $group_name_check_callable=null)
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
isHostValid(string $host)
validate(ilMailAddress $address)
Validates if the given address contains a valid group name to send an email.
static groupNameExists(string $a_group_name, ?int $a_id=null)
checks if group name already exists.