diff options
author | Dennis1993 <marvin-wegener@outlook.com> | 2013-09-02 12:51:58 +0200 |
---|---|---|
committer | Dennis1993 <marvin-wegener@outlook.com> | 2013-09-02 12:51:58 +0200 |
commit | 901a0809fa6f836a4297ccc0a54a626dc1deeebf (patch) | |
tree | 745dc872f287d25754f7d1c9488a5c1ca6065c79 | |
parent | 965dea3e8e243a289502bc1ad96c2ef424fd6df4 (diff) |
Update sendmail.inc
-rw-r--r-- | program/steps/mail/sendmail.inc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/program/steps/mail/sendmail.inc b/program/steps/mail/sendmail.inc index 1a92844c0..436b4eea7 100644 --- a/program/steps/mail/sendmail.inc +++ b/program/steps/mail/sendmail.inc @@ -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">' . |