in reply to sendmail problem...

Are you sure the open() call to sendmail is succeeding? That would be the first place to start, like:
open(MAIL,"|/usr/slib/sendmail -t") or die; # or other error routine

I'm assuming that the problem is that no mail is sent?

- Matt Riffle

Replies are listed 'Best First'.
Re: Re: sendmail problem...
by Anonymous Monk on Feb 02, 2003 at 19:55 UTC
    yeah, i tried that already, i actually copied the code from my local copy of the script, not the one on the server. i wanrted to make sure though that it isnt a syntax error that 'perl -c' wouldnt catch.