you can do something like (just for example):

PHP Code

/* PHP CODE HERE */

$OiOi = "Hi there, it is: " . date( "D, d M Y H:i:s T", $time() );

/* BODY HERE */
$body = <<<EOF
$OiOi
</br>
Hey, isn't that the date time that i got from Php code
just above me?
EOF;
 

so you can do some php dancing with the body, prior to assigning it the raw html.

hope that helps a bit?

oops.. Rick beat me to it