PHP mail cannot show links when sending html mails to thunderbird
I have this script that works ok. Trouble is that when I make <a href="http://www.examples.com/somepage.php">Click here</a> You cannot click the link in Thunderbird mailing program (Mozilla). If I see the source code it is okay. What gives?

    public function send_mail($email='',$subject='',$text='') {
    	$mail = new PHPMailer();
    	$db = new Db();
    	$sql = $db->query("SELECT * FROM configuration WHERE name='shopemail' OR name='shopname'");
    	while($configuration = $db->fetchArray($sql)) {
    		$row[$configuration['name']] = $configuration['value'];
    	}
    	// MIME BOUNDARY
    	$mime_boundary = $data['shopname'].md5(time());
    	$headers = "From: ".$row['shopname']." <".$row['shopemail'].">\n";
    	$headers .= "Reply-To: ".$row['shopname']." <". $row['shopemail'].">\n";
    	$headers .= "MIME-Version: 1.0\n";
    	$headers .= "Content-Type: multipart/alternative; boundary=\"$mime_boundary\"\n";
    	// TEXT EMAIL PART
    	$message = "--$mime_boundary\n";
    	$message .= "Content-Type: text/html; charset=iso-8859-1\n";
    	$message .= "Content-Transfer-Encoding: 8bit\n\n";
    	$message .= $text."\n";
    	// FINAL BOUNDARY
    	$message .= "--$mime_boundary--\n\n";
    	// SEND MAIL
    	$mail_sent = @mail( $email, $subject, $message, $headers );
    }
PHP mail cannot show links when sending html mails to thunderbird
===

I have this script that works ok. Trouble is that when I make <a href="http://www.examples.com/somepage.php">Click here</a> You cannot click the link in Thunderbird mailing program (Mozilla). If I see the source code it is okay. What gives?

    public function send_mail($email='',$subject='',$text='') {
    	$mail = new PHPMailer();
    	$db = new Db();
    	$sql = $db->query("SELECT * FROM configuration WHERE name='shopemail' OR name='shopname'");
    	while($configuration = $db->fetchArray($sql)) {
    		$row[$configuration['name']] = $configuration['value'];
    	}
    	// MIME BOUNDARY
    	$mime_boundary = $data['shopname'].md5(time());
    	$headers = "From: ".$row['shopname']." <".$row['shopemail'].">\n";
    	$headers .= "Reply-To: ".$row['shopname']." <". $row['shopemail'].">\n";
    	$headers .= "MIME-Version: 1.0\n";
    	$headers .= "Content-Type: multipart/alternative; boundary=\"$mime_boundary\"\n";
    	// TEXT EMAIL PART
    	$message = "--$mime_boundary\n";
    	$message .= "Content-Type: text/html; charset=iso-8859-1\n";
    	$message .= "Content-Transfer-Encoding: 8bit\n\n";
    	$message .= $text."\n";
    	// FINAL BOUNDARY
    	$message .= "--$mime_boundary--\n\n";
    	// SEND MAIL
    	$mail_sent = @mail( $email, $subject, $message, $headers );
    }