◆ parseAddressString()
ilMailImapRfc822AddressParser::parseAddressString |
( |
string |
$addresses | ) |
|
|
protected |
Definition at line 23 of file class.ilMailImapRfc822AddressParser.php.
25 $parsed_addresses = imap_rfc822_parse_adrlist($addresses, $this->installation_host);
28 $valid_parsed_addresses = array_filter($parsed_addresses,
static function (
stdClass $address):
bool {
29 return $address->host !==
'.SYNTAX-ERROR.';
32 if ($parsed_addresses !== $valid_parsed_addresses) {
38 }, $valid_parsed_addresses);
The documentation for this class was generated from the following file: