open (MAIL,"|sendmail -t") || die "Unable to open sendmail";