buenas tengo un inconveniente con un formulario php, en el codigo del php esta la opcion que el servidor le responde al remitente eso funciona perfecto pero el problema es que a quin va dirijido en formulario no le llega la informacion que debo hacer??? anexo codigo:



[
$adminaddress = "mi correro";
$siteaddress ="mi web";
$sitename = "nombre de mi web";

//No need to change anything below ...
// Gets the date and time from your server
$date = date("m/d/Y H:i:s");

// Gets the IP Address
if ($REMOTE_ADDR == "") $ip = "no ip";
else $ip = getHostByAddr($REMOTE_ADDR);

// Gets the POST Headers - the Flash variables
$action = $HTTP_POST_VARS['action'] ;
$thename = $HTTP_POST_VARS['thename'] ;
$email = $HTTP_POST_VARS['email'] ;
$phone = $HTTP_POST_VARS['phone'] ;
$fax = $HTTP_POST_VARS['fax'] ;
$comments = $HTTP_POST_VARS['comments'] ;

//Process the form data!
// and send the information collected in the Flash form to Your nominated email address

if ($action != ""){
//
mail ("$adminaddress","Info Request",
"A visitor at $sitename has left the following information\n
Name: $thename
Email: $email\n
Phone: $phone\n
Fax: $fax\n
The visitor commented:
------------------------------
$comments

Logged Info :
------------------------------
Using: $HTTP_USER_AGENT
Hostname: $ip
IP address: $REMOTE_ADDR
Date/Time: $date","FROM:$adminaddress" ) ;

//This sends a confirmation to your visitor
mail ("$email","Gracias por contactarnos $sitename",
"Hola $thename,\n
Gracias por contactarnos $sitename!\n Su mensaje a sido recibido.
a la brevedad posible atenderemos su requerimeinto.
Que tenga un exelente dia,
Sinceramente, $sitename
$siteaddress","FROM:$adminaddress") ;

//Confirmation is sent back to the Flash form that the process is complete
$sendresult = "Gracias. A la brevedad posible atenderemos su requerimeinto";
$send_answer = "answer=";
$send_answer .= rawurlencode($sendresult);
echo $send_answer;
} //


?>]