Update sendmail.inc

pull/118/head
Dennis1993 11 years ago
parent 965dea3e8e
commit 901a0809fa

@ -473,8 +473,10 @@ $isHtml = (bool) get_input_value('_is_html', RCUBE_INPUT_POST);
$message_body = get_input_value('_message', RCUBE_INPUT_POST, TRUE, $message_charset);
if ($isHtml) {
$font = rcube_fontdefs($RCMAIL->config->get('default_font'));
$bstyle = $font && is_string($font) ? " style='font-family: $font'" : '';
$font = rcube_fontdefs($RCMAIL->config->get('default_font'));
$font = $font && is_string($font) ? ' '.$font : NULL;
$font_size = $RCMAIL->config->get('default_font_size');
$bstyle = " style='font: ".$font_size.$font.";'";
// append doctype and html/body wrappers
$message_body = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">' .

Loading…
Cancel
Save