<form action="test_correo.php">
  <table width="200" border="1">
    <tr>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td>Correo:</td>
      <td><input type="text" name="id_correo" id="id_correo" /></td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td><input type="submit" name="Enviar" id="Enviar" value="Submit" /></td>
    </tr>
  </table>



</form>
<?
require_once('phpmailer\class.phpmailer.php');
$value=@$_REQUEST["id_correo"];
if ($value!="") {
	$body="Prueba de envio de correo (".date(DATE_RFC822).")<br>";
	macroemail($value,"Alerta Sistema de Termometria - Otros",$body);	
}

?>