Hello Micah, MS> I just commented out all the code in the script and replaced it with a single MS> command to email a predifined message to me. That way I'm eliminating any MS> problems with the code reading the pipe, etc.. and it still isn't working. MS> I'm assuming that the script isn't even being run by the pipe command.
Most likely cause is permissions; the script will be run as user 'dbmail', or whatever user ID you've attached dbmail to; use the su command to become that user, and try running the script manually. If it fails, you'll get a more informative error message... -- Jeff Brenton President, Engineered Software Products, Inc http://espi.com Questionable web page: http://dididahdahdidit.com Liberalism grants you the freedom to advocate any idea*. * Please see http://www.dididahdahdidit.com/except.php for a current list of exceptions