ILIAS  Release_4_2_x_branch Revision 61807
 All Data Structures Namespaces Files Functions Variables Groups Pages
Mail Namespace Reference

internal PHP-mail() implementation of the PEAR Mail:: interface. More...

Detailed Description

internal PHP-mail() implementation of the PEAR Mail:: interface.

PEAR's Mail:: interface.

SMTP MX implementation of the PEAR Mail interface.

SMTP implementation of the PEAR Mail interface.

Sendmail implementation of the PEAR Mail:: interface.

RFC 822 Email address list validation Utility.

Null implementation of the PEAR Mail:: interface.

Mock implementation of the PEAR Mail:: interface for testing.

Author
Chuck Hagenbuch chuck.nosp@m.@hor.nosp@m.de.or.nosp@m.g
Version
CVS:
Id:
mail.php 294747 2010-02-08 08:18:33Z clockwerx

Chuck Hagenbuch chuck.nosp@m.@hor.nosp@m.de.or.nosp@m.g 2010 Chuck Hagenbuch http://opensource.org/licenses/bsd-license.php New BSD License CVS: http://pear.php.net/package/Mail/ public Phil Kernick philk.nosp@m.@rot.nosp@m.fl.co.nosp@m.m.au 2010 Phil Kernick http://opensource.org/licenses/bsd-license.php New BSD License CVS: http://pear.php.net/package/Mail/ 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 2001-2010 Richard Heyes http://opensource.org/licenses/bsd-license.php New BSD License CVS: http://pear.php.net/package/Mail/ 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 public Requires the Net_SMTP class. public Requires the Net_SMTP class. public gERD Schaufelberger gerd@.nosp@m.php-.nosp@m.tools.nosp@m..net Chuck Hagenbuch chuck.nosp@m.@hor.nosp@m.de.or.nosp@m.g 1997-2010 Chuck Hagenbuch http://opensource.org/licenses/bsd-license.php New BSD License CVS: http://pear.php.net/package/Mail/ Defines the interface for implementing mailers under the PEAR hierarchy, and provides supporting functions useful in multiple mailer backends. public