if ($HTTP_GET_VARS["accion"] == "") { ?>
} elseif ($HTTP_GET_VARS["accion"] == "enviar") { // recojo las variables que vienen desde el formulario $n_destinatario = $HTTP_POST_VARS["n_destinatario"]; $e_destinatario = $HTTP_POST_VARS["e_destinatario"]; $n_remitente = $HTTP_POST_VARS["n_remitente"]; $e_remitente = $HTTP_POST_VARS["e_remitente"]; // si los campos no están vacíos if ($n_destinatario != "" && $e_destinatario != "" && $n_remitente != "" && $e_remitente != "") { //indica la url de tu sitio $url = "http://www.proxyweb.com.es"; //indica el nombre de tu sitio $nombre_del_sitio = "ProxyWeb"; //indica el asunto del mensaje $asunto = $n_remitente . " mira esta web!"; //redacta el mensaje $mensaje = "Hola" . $n_destinatario . ":