Filewatcher File Search File Search
Content Search
» » » » » » perl-MailTools-1.77-1.el5.centos.noarch.rpm » Content »
pkg://perl-MailTools-1.77-1.el5.centos.noarch.rpm:93196/usr/share/man/man3/  info  HEADER  downloads

perl-MailTools - Various mail-related perl modules…  more info»


Mail::Field::AddrUser(Contributed Perl DocumMail::Field::AddrList(3)

       Mail::Field::AddrList - object representation of e-mail
       address lists

       Don't use this class directly! Instead ask Mail::Field for
       new instances based on the field name!

         use Mail::Field::AddrList;

         $to = Mail::Field->new('To');
         $from = Mail::Field->new('From', ' (Peter Orbaek)');

         $from->create('' => 'Mr. Foo', poe => 'Peter');
         $from->parse(' (Mr Foo), Peter Orbaek <poe>');

         # make a RFC822 header string
         print $from->stringify(),"\n";

         # extract e-mail addresses and names
         @addresses = $from->addresses();
         @names = $from->names();

         # adjoin a new address to the list
         $from->set_address('', 'Mr. Foo');

       Defines parsing and formatting according to RFC822, of the
       following fields: To, From, Cc, Reply-To and Sender.

       Peter Orbaek <> 26-Feb-97 Modified by Graham Barr
       <> Maintained by Mark Overmeer <mail‐>

       Copyright (c) 2002-2003 Mark Overmeer. All rights reserved.
       This program is free software; you can redistribute it and/or
       modify it under the same terms as Perl itself.

perl v5.8.8                  2007-05-11     Mail::Field::AddrList(3)
Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2017