Help for this page

Select Code to Download


  1. or download this
    open(SENDMAIL, '|/usr/sbin/sendmail -oi -t')
       or do{ unlink($outfile); diehtml("Can't fork for sendmail: $!\n")};
    
  2. or download this
    print SENDMAIL $msg
    close SENDMAIL;
    
  3. or download this
    print SENDMAIL <<"EOF";
    
  4. or download this
    EOF
            close(SENDMAIL) or warn "sendmail didn't close nicely";