I'm trying to get email myself the results of a form, so I can moderate a
list, and delete an entry if anyone puts in cuss words...  I'm trying to do
it with a

system("\(mail [EMAIL PROTECTED] < messages\)\&");

The page loads to this point, then quits.  I put the & in to run the mail
program in the background, and let perl continue, but it didn't work.  I
also tried exec() and ' ' to do the call.  The error I get from CGIwrap is:

"Insecure $ENV{PATH} while running with -T switch at /blah/blah.cgi line
121."

THEN, I tried making the mail command in a shell script, then calling the
shell script, but got the same result.

Any ideas besides using cron to email myself the file?

Thanks,
Ryan



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to