in reply to open MAIL fails

The line

open (MAIL,"|/usr/ucb/mail -t") || warn "couldnt open mailprog: $!\n";

What does that print out? What does $! contain? Another thing, /usr/ucb/mail is not the same thing as /usr/lib/sendmail, but I guess that's obvious.

A really nice module, one that will cause you considerably less grief, is Mail::Sendmail, which, curiously enough, does not require the use of sendmail, but rather is a replacement for it. You can also coax it to do MIME messages if you have to.

--
g r i n d e r