maybe I am over thinking this,

<?php
/* BODY HERE */
$body = <<<EOF
<!--Begin ClixTrac.com Banner Code -->
<a href="http://www.clixtrac.com/banner/click.php?banner=177648" target="_blank">
<img src="http://www.clixtrac.com/banner/177648.gif" alt="Cell Phone Repair" title="Cell Phone Repair" border="0" /></a>
<!--End ClixTrac.com Banner Code -->
EOF;
?>

is this the problem ?>
having this after the EOF;
or this at the top <?php