/src/mail/class.RFC822.php

Description

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 Heyes" <richard@localhost> (A comment), ted@example.com (Ted Bloggs), Barney;'; $structure = Mail_RFC822::parseAddressList($address_string, 'example.com', TRUE) print_r($structure);

Classes
Class Description
src_mail_RFC822 RFC 822 Email address list validation Utility

Documentation generated on Sat, 24 Mar 2007 09:59:52 +0100 by phpDocumentor 1.3.1