$noteContent="Contacted from <a href=\'".$data['PageURL']."\' target=\'_blank\'>".$data['PageURL']."</a>";
$headers .= 'Bcc: xxx@gmail.com' . "
";
$headers .= "Reply-To: ".$from."
";
$headers .= "X-Priority: 1
";
$message=$noteContent.'<br /><br />';
$message.="Name: ".$data['first'].' '.$data['last'].'<br />';
$message.="Email: ".$data['email'].'<br />';
$message.="Phone: ".$data['phone'].'<br /><br />';
$message.="<span style='color:#900;font-weight:bold;'>Please call, bla bla bla bla.</span>";
$message=nl2br($message);
mail($mailto, $subject, $message, $headers);
The problem is that I'm sending this through, and it's outputting correctly when you look at it. Looks like a simple link with the pageurl. However, its actually linking to: res://ieframe.dll/syntax.htm#\'http://www.somewebsite.com\'
So it opens up in their browser as a local file. What am I doing wrong here that is causing that to happen?