cuando ases echo es solo para emprimir tenesque agregar valores "nombre apellido tel ..." a la variable $mensaje
Código PHP:
<?php
$mensaje='
<table>
<tr>
<td style="width: 145px"><strong>Nombre:</strong></td><td>'.$nombre. ' ' .$apellido;
$mensaje.='</td>
</tr>
<tr>
<td style="width: 145px"><strong>No. de Identificación:</strong></td><td> '.$identificacion;
$mensaje.='</td>
</tr>
<tr>
<td style="width: 145px"><strong>Teléfono:</strong></td><td> '.$tel;
$mensaje.='</td>
</tr>
<tr>
<td style="width: 145px"><strong>Dirección:</strong></td><td> '.$dir;
$mensaje.='</td>
</tr>
<tr>
<td style="width: 145px"><strong>Correo electrónico:</strong></td><td> '.$correo;
$mensaje.='</td>
</tr>
</table>';
?>