aslanbey34 adlı üyeden alıntı: mesajı görüntüle
html olarak nasıl gönderebiliriz
Merhaba ,


admincp/emailphp de

burayı bul:

print_textarea_row($vbphrase['message_email'], 'message', '', 10, 50);
altına ekle:

print_yes_no_row('Send HTML Email?', 'sendhtml', 0);
ADIM 2:

admincp/emailphp

BURAYI BUL:

construct_hidden_code('test', $vbulletin->GPC['test']);
altına Ekle :

construct_hidden_code('sendhtml', $_POST['sendhtml']);
ADIM 3:

includes/class_mailphp

BUL:

$headers .= 'Content-Type: text/plain' . iif($encoding, "; charset=\"$encoding\"") . $delimiter;
DEĞİŞTİR:

if($_POST['sendhtml'])  { 
  $headers .= 'Content-Type: text/html' . iif($encoding, "; charset=\"$encoding\"") . $delimiter; 
}else{ 
  $headers .= 'Content-Type: text/plain' . iif($encoding, "; charset=\"$encoding\"") . $delimiter; 
}