COUNTERMAN, DANIEL (CONTRACTOR) wrote:
> All,
> 
>       I have a Perl script I am running from an HTML page that will save
> the output in a file called comments.txt.  Is there anyway I can
> email this file everytime to an email address that I provide.

Be forewarned: this kind of thing tends to turn into a huge gaping security
risk, opening your server to being used as an open relay for spammers.

Google on "formmail exploit", for example.

The safest approach would be to avoid sending mail from your CGI program
altogether. If the data goes into comments.txt, have a separate process (not
runnable from the web server) that forwards that file to you.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to