--- trunk/sender.pl 2005/05/17 17:49:14 36 +++ trunk/sender.pl 2005/05/18 13:12:54 45 @@ -40,7 +40,6 @@ "inbox=s" => \$opt->{'inbox'}, "debug" => \$debug, "verbose" => \$verbose, - "email=s" => \$opt->{'email'}, ); my $nos = new Nos( @@ -112,9 +111,8 @@ foreach my $list (@lists) { print $list->name," <",$list->email,">\n"; - foreach my $user_on_list ($user_list->search(list_id => $list->id)) { - my $user = $users->retrieve( id => $user_on_list->user_id ); - print "\t",$user->full_name," <", $user->email, ">\n"; + foreach my $u ($nos->list_members( list => $list->name )) { + print "\t",$u->{'name'}, " <", $u->{'email'}, ">\n"; } } @@ -127,9 +125,6 @@ email@example.com Optional full name of person dpavlin@rot13.org Dobrica Pavlinusic -You may use C<--email> parametar at any time to set From: e-mail address for list. -B. - =cut } elsif ($list_name = $opt->{'add'}) { @@ -250,10 +245,6 @@ Dump more info on screen. -=item --email - -Used to specify e-mail address where needed. - =back