[EMAIL PROTECTED] wrote:
>
> this is in my ProcesssForm run mode
>
> sub SendReq {
> open (MAIL, "| /usr/lib/sendmail -f \"Service Request\" -t");
> print MAIL "To: [EMAIL PROTECTED]\n";
> print MAIL "Subject: $prefix\n";
> print MAIL qq{Site Num: $snum\n
> P.O.: $ponum\n
> Address: $info[0]->{addr1}\n$info[0]->{city}
> $info[0]->{state} $info[0]->{zip}\n\n
> Description of Problem: $desc\n\n
> Contact: $contact\n
> Requester: $yname};
> close MAIL;
> }
> and the error is bad header=jesseshy.cmsmechanical.com
This error indicates that some output related to your mail message is
being sent to the browser. when you run your CGI::App from the command
line, what happens? Add a check to see to see if the open() call here
returns an error as well (i.e. open(...) || die).
Under normal circumstances, your mail message shouldn't cause any
browser output.
-mark
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]