Help for this page

Select Code to Download


  1. or download this
    open my $fh, '|-', 'mailx -s "List report" test@mail' or die "ERROR: C
    +ouldn't open pipe: $!";
    
  2. or download this
    print $fh $generatedMailText or die "ERROR: Couldn't write to pipe: $!
    +";
    
  3. or download this
    close $fh or die "ERROR: Closing pipe failed: $!";