Customize mailer.php?

I would like the results that mailer.php from here spits out to match my site. I put my HTML in the echo area where the results text is but it gives an error. How can I add my HTML to the results page so it looks like my site rather than a white page with a few words?