Either one of these should suit:
Wacko's Email Mod (uses dcc bind)
http://www.egghelp.org/cgi-bin/tcl_arch ... oad&id=355
Email.tcl (uses pub bind)
http://www.egghelp.org/cgi-bin/tcl_arch ... ad&id=1316
As far as using "perl sendmail" I don't know what that is. The email.tcl does use sendmail, but this is simple enough to change to use the mailer you have available, just change the line:
set email [open "| /usr/sbin/sendmail -f $mail(address) -t" "w"];
to use the mailer you have available, with the parameters that mailer uses (which should be pretty much the same, smtp and mailers generally use standardized commandlines)
I would look both scripts over and change them as necessary. The script that uses dcc should not be that hard to modify to use a pub bind if that is what you prefer.
Unfortunately, I am only familiar with sendmail myself, or I would offer to modify the script to use qmail or exim or whichever other mailer you had available. Check the appropriate man pages for your mailer's commandline options.