Help for this page

Select Code to Download


  1. or download this
    sub foldertree($$) {
     my ($imap,$fname) = @_;
    ...
     }
     return @folderlist;
    }
    
  2. or download this
     foreach my $f (sort @topfolders) {
      $imap->status("{hostname:143/imap}$f",
    ...
      my $fc=@subfolders;
      $foldhash{'fc'} = $fc;
      $foldhash{'subfolders'} = @subfolders;