the reason why this happened in the first place, was because the " and " in this line
$mess .= '<a href="http://www.url.com">
then when you echo it in you <input> tag...
<input name="body" type="hidden" value="<?php echo $mess; ?>" />
...the HTML output becomes like this
<input name="body" type="hidden" value="<html><body><a href="http://www.url.com"> Some sort of link</a></body></html>" />
Now look in the value atribute... it contains too many quotes
Well, just wanted to let you know why it didnt work for ya 🙂