yes, you can put in a hyperlink.
I think you got a parse error because you didn\'t escape the quotes.
so you must code it like this:
$message2= \"<a href=\\"somescript.php\\">go here</a>\";
or you can do:
$message2= \"<a href=\'somescript.php\'>go here</a>\";
In your message you didn\'t code a \';\', maybe that\'s the problem ?