A question ...
Rainman89,
I'll preface this by saying, I don't know perl. So, given that, I would verify two things:
1. Does the NT server have Perl installed?
2. Does the server have sendmail installed?
IMHO, the script needs to be tweaked, as it was written for *nix.
My 0.02c
Alex