First off, are you sure that your path to sendmail is correct? Some servers have it in different places.
Second, your email addresses should not be "$in{...}" variables.
Set it up like this:
Code:
open (MAIL, "|/usr/lib/sendmail -t");
print MAIL "To: me\@mydomain.com\n";
print MAIL "From: server\@mydomain.com\n";
print MAIL "Subject: Record modified\n";
print MAIL "\n\n";
print MAIL "$db_userid\n";
print MAIL "\n\n";
close (MAIL);
I think this will give you what you want.
I do like it, though, when people give it a try, even if it doesn't work.
------------------
JPD