19 declare(strict_types=1);
29 $parsedAddresses = imap_rfc822_parse_adrlist($addresses, $this->installationHost);
32 $validParsedAddresses = array_filter($parsedAddresses,
static function (
stdClass $address):
bool {
33 return '.SYNTAX-ERROR.' !== $address->host;
36 if ($parsedAddresses !== $validParsedAddresses) {
42 }, $validParsedAddresses);
parseAddressString(string $addresses)
Class ilBaseMailRfc822AddressParser.
Class ilMailImapRfc822AddressParser.