Help for this page

Select Code to Download


  1. or download this
    open(SENDMAIL, '|/usr/sbin/sendmail -oi -t')
       or (unlink ($outfile),
        diehtml("Can't fork for sendmail: $!\n"));
    
  2. or download this
    sysopen(SENDMAIL, "|/usr/sbin/sendmail -oi -t", O_CREAT | O_EXCL | O_R
    +DWR, 0600)
       or (unlink ($outfile),
        diehtml("Can't fork for sendmail: $!\n"));