Mass-Mail [HTML] Tüm Kullanıcılara Mail !

ProwL

Gitarist
Katılım
19 Haz 2005
Mesajlar
3,092
Reaction score
0
Puanları
0
Konum
istanbul
i48051_htmlemail.jpg


"admincp/email.php" dosyasında bulun;

Kod:
print_textarea_row($vbphrase['message_email'], 'message', '', 10, 50);

altına ekleyin;

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

"admincp/email.php" dosyasında bulun;

Kod:
construct_hidden_code('test', $vbulletin->GPC['test']);

altına ekleyin;

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

"includes/class_mail.php" dosyasında bulun;

Kod:
$headers .= 'Content-Type: text/plain' . iif($encoding, "; charset=\"$encoding\"") . $delimiter;

aşağıdaki kodlarla değiştirin;

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

Admincp > Users > Send E-mail To Users
Admincp > Kullanıcılar > Send E-mail To Users linkinden mass-mail gönderebilirsiniz.​
 
Geri
Üst