mailparse_rfc822_parse_addresses

PECL mailparse >= 0.9.0
mailparse_rfc822_parse_addresses - Parse RFC 822 compliant addresses
Manual
Code Examples

Example #1 mailparse_rfc822_parse_addresses example

Result: array(2) { [0]=> array(3) { ["display"]=> string(11) "Wez Furlong" ["address"]=> string(15) "wez@example.com" ["is_group"]=> bool(false) } [1]=> array(3) { ["display"]=> string(15) "doe@example.com" ["address"]=> string(15) "doe@example.com" ["is_group"]=> bool(false) } }
PHP Version: