ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
RFC 822 Email address list validation Utility. More...
RFC 822 Email address list validation Utility.
What is it? This class will take an address string, and parse it into it's consituent parts, be that either addresses, groups, or combinations. Nested groups are not supported. The structure it returns is pretty straight forward, and is similar to that provided by the imap_rfc822_parse_adrlist(). Use print_r() to view the structure. How do I use it? $address_string = 'My Group: "Richard" <richard> (A comment), ted@e (Ted Bloggs), Barney;'; $structure = Mail_RFC822::parseAddressList($address_string, 'example.com', true) print_r($structure); Richard Heyes xamp le.co mricha Chuck Hagenbuch rd@p hpgur u.or gchuck BSD @hor de.or g