for version 4.2
First step:
In admincp/email.php Find:
PHP Code:
print_textarea_row($vbphrase['message_email'], 'message', '', 10, 50);
add just below
PHP Code:
print_yes_no_row('Send HTML Email?', 'sendhtml', 0);
Find:
PHP Code:
construct_hidden_code('test', $vbulletin->GPC['test']);
add just below
PHP Code:
construct_hidden_code('sendhtml', $_POST['sendhtml']);
step 2
in includes/class_mail.php Find:
PHP Code:
$headers .= 'Content-Type: text/plain' . iif($encoding, "; charset=\"$encoding\"") . $delimiter;
replaced by:
PHP Code:
if($_POST['sendhtml']) {
$headers .= 'Content-Type: text/html' . iif($encoding, "; charset=\"$encoding\"") . $delimiter;
}else{
$headers .= 'Content-Type: text/plain' . iif($encoding, "; charset=\"$encoding\"") . $delimiter;
}
source:
http://www.vbulletin-ressources.com/...032#post141032