NAME

DADA::MailingList - Creates and Removes Dada Mail Mailing Lists


VERSION


SYNOPSIS

 use DADA::MailingList; 
 
 my $list = 'foo'; 
 
 
 # Create!
  my $ls = DADA::MailingList::Create({ list => 'mylist' }); 
 
 # $ls is now a DADA::MailingList::Settings object.
 
 # Remove!
 DADA::MailingList::Remove({ -name => 'mylist' });


DESCRIPTION

This module basically either creates, or removes a list.


SUBROUTINES

Create

 my $ls = DADA::MailingList::Create({ list => 'mylist' });

Creates all the necessary files for a Dada Mailing List; $list is the list shortname of your mailing list - which itself should be no more than 16 characters and should only include letters/numbers.

It returns a DADA::MailingList::Settings object.

Remove

 DADA::MailingList::Remove({ -name => 'mylist', -delete_backups => 1});

Removes a Mailing List. the -name paramater is required. -delete_backups is optional, but when set to 1, will remove any backups of the list settings, archives or schedules.


AUTHOR

Justin Simoni - http://dadamailproject.com/contact


LICENCE AND COPYRIGHT

Copyright (c) 1999-2008 Justin Simoni All rights reserved.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.