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.
--In reply to Re: open MAIL fails
by grinder
in thread open MAIL fails
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |