TYPO3 API  SVNRelease
Mail Namespace Reference

Detailed Description

Author:
Richard Heyes richa.nosp@m.rd@p.nosp@m.hpgur.nosp@m.u.or.nosp@m.g
Chuck Hagenbuch <chuck.nosp@m.@hor.nosp@m.de.or.nosp@m.g
Version:
CVS:
Id:
RFC822.php 294749 2010-02-08 08:22:25Z clockwerx

Incorporated in TYPO3 by Ernesto Baschny ernst.nosp@m.@cro.nosp@m.n-it..nosp@m.de 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.nosp@m.xamp.nosp@m.le.co.nosp@m.m (Ted Bloggs), Barney;'; $structure = Mail_RFC822::parseAddressList($address_string, 'example.com', true) print_r($structure); Richard Heyes richa.nosp@m.rd@p.nosp@m.hpgur.nosp@m.u.or.nosp@m.g Chuck Hagenbuch chuck.nosp@m.@hor.nosp@m.de.or.nosp@m.g BSD