Hi,
try to debug.
First try with this:
<?
$text = $_GET['varA'];
//mail("mail@mail.com", $text);
echo $text;
?>
Then if don't echo try with
- $text = $_POST['varA'];
- $text = $varA;
Look if you have exactly <input name="varA" ...> field in form you are submitting (no ID="varA", case of name (VARA,VarA,vara...))
If it work, look mail() command for more info...