mailparse_rfc822_parse_addresses

 array mailparse_rfc822_parse_addresses ( string $addresses ) 

説明

Parses a » RFC 822 compliant recipient list, such as that found in the To: header.

戻り値

Returns an array of associative arrays with the following keys for each recipient: display The recipient name, for display purpose. If this part is not set for a recipient, this key will hold the same value as address.