Mark Tarver <> wrote:
> print SENDMAIL <<"EOF";
> From: xxxxxx
> To: yyyyyy
> Subject: form
> my $name = param('name');
> my $email = param('email');
> my $commqi = param('commqi');
> my $commqitk = param('commqitk');
> my $inform = param('inform');
> my $support = param('support');
> my $consultation = param('consultation');
> my $lisp = param('lisp');
> my $os = param('os');
> my $remarks = param('remarks');
> EOF
All of that is a _string_, only the print() is code, the rest is data.
You cannot declare variables and call functions inside of a string.
I guess the param('name') part is supposed to be part of the _body_
of the message? If so, then you need a blank line before it to
mark the end of the headers.
Get your program working from the command line before trying
it in a CGI environment.
--
Tad McClellan SGML consulting
Perl programming
Fort Worth, Texas