blnukem wrote:
>
> if($Name){
> print MAIL "$Name: $Value \n";
> }
>
> Now I thought that this should only print if $Name has a value, it
> print all the time cant figure it out.
I don't understand what you mean. But I do understand that the code
you posted prints everything as message headers, and allows anybody to
use your script as a relay for sending anything to an unlimited number
of recipients...
Wouldn't it be a good idea to make use of a quality form-to-mail
script/module instead?
<code>
--
Gunnar Hjalmarsson
Email:
http://www.gunnar.cc/cgi-bin/contact.pl