peschkaj has asked for the wisdom of the Perl Monks concerning the following question:
When I attempt to send an email using MIME::Lite from a CGI page, I see the following error on the command line while I debug:
mail.cgi: Insecure $ENV{PATH} while running with -T switch at C:/Perl/site/lib/MIME/Lite.pm line 2540.
The line of code in question is:
my $msg = MIME::Lite->new( From => "$from_email", Sender => "$from_name", To => "$email", Subject => "pie is good food", Data => "$message_text" );
If anyone has encountered this before, I would greatly appreciate it. I have untained all of my variables and everything looks okay to me.
Thanks,
jeremiah
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: MIME::Lite and CGI
by thraxil (Prior) on Oct 12, 2003 at 21:32 UTC | |
|
Re: MIME::Lite and CGI
by virtualsue (Vicar) on Oct 12, 2003 at 21:25 UTC | |
|
Re: MIME::Lite and CGI
by peschkaj (Pilgrim) on Oct 12, 2003 at 21:37 UTC |