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