Ok, I am not getting the same results as you from the html. On both your forms, when I capture what you are sending in they come up ok.
http://www.xxxac.com/testfile.htm
http://www.xxxac.com/testfile1.htm
is your code pointing at a php page on my server, but it is your form feeding it.
On both of them I get all variables expected.
The reason I was pointing at the first one I said was because you have some screwy looking table code in there.
Anyway, go back to your program and make sure you are capturing the variables the same.
here is the code I used:
echo 'to: '. $_POST['to'] . '
';
echo 'subject: '. $_POST['subject'] . '
';
echo 'name: '. $_POST['name'] . '
';
echo 'phone: '. $_POST['phone'] . '
';
echo 'email: '. $_POST['email'] . '
';
echo 'msg: '. $_POST['msg'] . '
';