ya estas en php no tiene que abrir etiquetas tienes que concatenar la variable
Código PHP:
<?php
$cuerpo = '
<html>
<head>
<title>Imagen</title>
</head>
<body>
<img src="http://dominio.com/'. $target_path .'" border=2>
</body>
</html>'.
$_POST["nombre"];
?>