Mail::Ezmlm

Ezmlm is a Perl module that contains object methods for Ezmlm Mailing Lists.
Download

Mail::Ezmlm Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Guy Antony Halse
  • Publisher web site:
  • http://search.cpan.org/~sumpfrall/Ezmlm-0.07.2/Ezmlm.pm

Mail::Ezmlm Tags


Mail::Ezmlm Description

Ezmlm is a Perl module that contains object methods for Ezmlm Mailing Lists. Ezmlm is a Perl module that contains object methods for Ezmlm Mailing Lists.SYNOPSIS use Mail::Ezmlm; $list = new Mail::Ezmlm;The rest is a bit complicated for a Synopsis, see the description.ABSTRACTEzmlm is a Perl module that is designed to provide an object interface to the ezmlm mailing list manager software. See the ezmlm web page (http://www.ezmlm.org/) for a complete description of the software.This version of the module is designed to work with ezmlm version 0.53. It is fully compatible with ezmlm's IDX extensions (version 0.4xx and 5.0 ). Both of these can be obtained via anon ftp from ftp://ftp.ezmlm.org/pub/patches/Setting up a new Ezmlm object: use Mail::Ezmlm; $list = new Mail::Ezmlm; $list = new Mail::Ezmlm('/home/user/lists/moolist');Changing which list the Ezmlm object points at: $list->setlist('/home/user/lists/moolist');Getting a list of current subscribers:Two methods of listing subscribers is provided. The first prints a list of subscribers, one per line, to the supplied FILEHANDLE. If no filehandle is given, this defaults to STDOUT. An optional second argument specifies the part of the list to display (mod, digest, allow, deny). If the part is specified, then the FILEHANDLE must be specified. $list->list; $list->list(*STDERR); $list->list(*STDERR, 'deny');The second method returns an array containing the subscribers. The optional argument specifies which part of the list to display (mod, digest, allow, deny). @subscribers = $list->subscribers; @subscribers = $list->subscribers('allow');Testing for subscription: $list->issub('nobody@on.web.za'); $list->issub(@addresses); $list->issub(@addresses, 'mod');issub() returns 1 if all the addresses supplied are found as subscribers of the current mailing list, otherwise it returns undefined. The optional argument specifies which part of the list to check (mod, digest, allow, deny).Subscribing to a list: $list->sub('nobody@on.web.za'); $list->sub(@addresses); $list->sub(@addresses, 'digest');sub() takes a LIST of addresses and subscribes them to the current mailing list. The optional argument specifies which part of the list to subscribe to (mod, digest, allow, deny).Unsubscribing from a list: $list->unsub('nobody@on.web.za'); $list->unsub(@addresses); $list->unsub(@addresses, 'mod');unsub() takes a LIST of addresses and unsubscribes them (if they exist) from the current mailing list. The optional argument specifies which part of the list to unsubscribe from (mod, digest, allow, deny).Creating a new list: $list->make(-dir=>'/home/user/list/moo', -qmail=>'/home/user/.qmail-moo', -name=>'user-moo', -host=>'on.web.za', -user=>'onwebza', -switches=>'mPz'); Requirements: · Perl


Mail::Ezmlm Related Software