Re: Send email using SMTP

[email protected] (Adam Jimerson) Thu, 08 Jan 2009 19:35:50 -0500
Newsgroups perl.beginners.cgi
Organization se
Message-ID <[email protected]>
Adam Jimerson wrote:

> I wasn't able to remember what it exactly said, but yes it is about
> $ENV{PATH}, on my machine perldoc perlsec is riddled with formating
> problems it looks like, here is a copy of what I mean:
> 

Ok adding $ENV{PATH} = ''; or even $ENV{PATH} = '/usr/bin'; (in case it 
needs to be pointed to an existing directory) changes the error that I get 
to this:

Insecure dependency in piped open while running with -T switch at 
/srv/www/cgi-bin/contact line 87.

Line 87 is where I open /usr/bin/mail for writing, how do I solve this 
problem?