The html goes in between the $body = <<<EOF and EOF; lines. So if you're trying to put a picture in place you'd do something like:

$body = <<<EOF
<img src="image_url" />
EOF;