Manual Pages for UNIX Darwin command on man Mail::Field::AddrList
MyWebUniversity

Manual Pages for UNIX Darwin command on man Mail::Field::AddrList

Mail::Field::AddrList(3U)ser Contributed Perl DocumentatiMoanil::Field::AddrList(3)

NAME

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

DESCRIPTION

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

SYNOPSIS

use Mail::Field::AddrList;

$to = Mail::Field->new('To');

$from = Mail::Field->new('From', 'poe@daimi.aau.dk (Peter Orbaek)');

$from->create('foo@bar.com' => 'Mr. Foo', poe => 'Peter');

$from->parse('foo@bar.com (Mr Foo), Peter Orbaek ');

# 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->setaddress('foo@bar.com', 'Mr. Foo');

NNOOTTEESS Defines parsing and formatting according to RFC822, of the following

fields: To, From, Cc, Reply-To and Sender.

AUTHOR

Peter Orbaek 26-Feb-97 Modified by Graham Barr

Maintained by Mark Overmeer

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 2006-01-21 Mail::Field::AddrList(3)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™