on this line of code?
any ideas?
mail($toText, $subjectText, $msgText, "To: $toText <$toText>\n" . "From: $fromText <$fromText>\n" "X-Mailer: PHP 4.x");
Is "X-Mailer: PHP 4.x" supposed to be part of the header? If so, you forgot to concatenate it with "." . Perhaps that is why you got the error.
that was my problem - thanks so much