Mail::Alias - Maniulates mail alias files of various formats. Works on files directly or loads files into memory and works on the buffer. |
Mail::Alias - Maniulates mail alias files of various formats. Works on files directly or loads files into memory and works on the buffer.
use Mail::Alias;
Mail::Alias
can read various formats of mail alias. Once an object has been created it can be used to expand aliases and output in another format.
new([filename])
Without a format specified- Mail::Alias->new([filename]}. Format defaults to
SENDMAIL
In either case, the filename is optional and, if supplied, it will be read in
when the object is created. Available formats are Sendmail, Ucbmail, and
Binmail.
=item B<expand ()> Expands the passed alias into a list of addresses. Expansion properly handles :include: files, recursion, and continuation lines.Only works when memory access is being used. If the alias is not found in the object, you get back what you sent.
write()
and
format()
methods.append()
and delete()
methods.
Tom Zeltwanger <perl@ename.com> (CPAN author ID: ZELT)
Copyright (c) 2000 Tom Zeltwanger. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Versions up to 1.06, Copyright (c) 1995-1997 Graham Barr. All rights reserved. This program is free software; you can distribute it and/or modify it under the same terms as Perl itself.
Mail::Alias - Maniulates mail alias files of various formats. Works on files directly or loads files into memory and works on the buffer. |