Php and html emails

Hi all,

I need to pass some simple html into my email being sent out using the mail() function in php.

basically, I have a dynamically generated string that I want to act as a link.

Here is an example of what I mean:

$source = http://www.yahoo.com;
$message = “Thanks, <a href=$source target=’_blank’>Click Here</a> to continue.”;

I would want the email to say: Thanks, Click Here to continue.

And Click Here acts as a link to yahoo.com

However, when I run that with php it is writing the whole message line. Anyone know how to fix this?

Thanks,
Mat