Have you added the correct headers to the email message?
If not...
Go to includes/email.php
Find:
function create_header() {
global $config;
$header = "";
if (empty($this->from)) {
$header .= sprintf("Return-Path: %s\r\n", $config['site_email']);
$header .= sprintf("From: %s\r\n", $config['site_email']);
}
else {
$header .= $this->from;
}
//$header .= sprintf("Reply-to: %s\r\n", $config['site_email']);
//$header .= sprintf("To: %s\r\n", $this->to);
if (!empty($this->bcc) && !$this->use_smtp) {
$bcc_list = "";
foreach ($this->bcc as $key => $val) {
$bcc_list .= (($bcc_list != "") ? ", " : "").$val;
}
$header .= sprintf("Bcc: %s\r\n", $bcc_list);
}
$header .= sprintf("Subject: %s\r\n", $this->subject);
$header .= "Date: " . date("r") ."\r\n";
return $header;
}
Replace with:
function create_header() {
global $config;
$header = "";
if (empty($this->from)) {
$header .= sprintf("Return-Path: %s\r\n", $config['site_email']);
$header .= sprintf("From: %s\r\n", $config['site_email']);
}
else {
$header .= $this->from;
}
//$header .= sprintf("Reply-to: %s\r\n", $config['site_email']);
//$header .= sprintf("To: %s\r\n", $this->to);
if (!empty($this->bcc) && !$this->use_smtp) {
$bcc_list = "";
foreach ($this->bcc as $key => $val) {
$bcc_list .= (($bcc_list != "") ? ", " : "").$val;
}
$header .= sprintf("Bcc: %s\r\n", $bcc_list);
}
$header .= sprintf("Subject: %s\r\n", $this->subject);
$header .= "Date: " . date("r") ."\r\n";
$header .= "MIME-Version: 1.0\r\n";
$header .= "Content-Type: text/html; charset=windows-1252\r\n";
return $header;
}
which adds the headers
$headers.= "MIME-Version: 1.0\r\n";
$headers.= "Content-Type: text/html; charset=windows-1252\r\n";
to the email to tell the receiving email client that the message is HTML not plain text.
Be warned however that some email clients are set up to reject HTML messages and only accept Plain Text. A more sophisticated approach would be to send a two part message, first part being Plain Text, the second HTML which gives the best of both worlds.
This would take much more scripting however and would be worthy of a [MOD] in it's own right.