web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

CRM 2013 - email body contains unwantet font definition information

(0) ShareShare
ReportReport
Posted on by

Hi,

we are facing following Problem: 

We forward Emails, that come into our CRM via an Emailqueue and is then added to an issue, to the owner and or the team members that own the issue. 

In Outlook the mail contains unwantet fontdefinitions which are quite annoying and useless. 

How do I get rid of them? Any ideas?

I found this topic several times in different communities, but there was never a satisfying solution attached...

This is the way the mail looks in outlook: 

Ticket Number: ******
Account: *******
From: 
****
Subject: ******
Detail: 

/* Font Definitions */
@font-face
{font-family:"Tms Rmn";
panose-1:2 2 6 3 4 5 5 2 3 4;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"Frutiger LT Com 45 Light";}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Sprechblasentext Zchn";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma",sans-serif;
mso-fareast-language:EN-US;}
span.SprechblasentextZchn
{mso-style-name:"Sprechblasentext Zchn";
mso-style-priority:99;
mso-style-link:Sprechblasentext;
font-family:"Tahoma",sans-serif;
mso-fareast-language:EN-US;}
span.E-MailFormatvorlage20
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.E-MailFormatvorlage21
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:#1F497D;}
span.E-MailFormatvorlage22
{mso-style-type:personal;
font-family:"Frutiger LT Com 45 Light";
color:#44546A;
font-weight:normal;
font-style:normal;
text-decoration:none none;}
span.E-MailFormatvorlage23
{mso-style-type:personal;
font-family:"Frutiger LT Com 45 Light";
color:windowtext;
font-weight:normal;
font-style:normal;
text-decoration:none none;}
span.E-MailFormatvorlage24
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:#1F497D;}
span.E-MailFormatvorlage25
{mso-style-type:personal;
font-family:"Frutiger LT Com 45 Light";
color:#44546A;
font-weight:normal;
font-style:normal;
text-decoration:none none;}
span.E-MailFormatvorlage26
{mso-style-type:personal;
font-family:"Frutiger LT Com 45 Light";
color:#1F497D;}
span.E-MailFormatvorlage27
{mso-style-type:personal;
font-family:"Frutiger LT Com 45 Light";
color:#44546A;
font-weight:normal;
font-style:normal;
text-decoration:none none;}
span.E-MailFormatvorlage28
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Manoj Batchu Profile Picture
    1,691 on at

    Hello,

    Check the below links.

    - Update KB2289158 and CA Internet Security caused the issue.

    social.technet.microsoft.com/.../email-font-randomly-huge-when-received-outlook-2007

    - Outlook caches fonts from incoming emails somewhere in memory and includes them in every outgoing HTML format email. So if a user receives an email with a huge number of corrupted font definitions, this will get forwarded to every subsequent recipient until outlook is restarted.

    The resolution is to upgrade to Outlook 2013, which has allegedly addressed this issue. Microsoft would not provide a workaround or patch for 2010, citing it as a case of "works as designed".

    stackoverflow.com/.../how-can-i-suppress-word-html-font-definitions-in-outlook

  • Community Member Profile Picture
    on at

    Could you fix this problem?

    I use SugarCRM and had the same problem and solve it by removing some lines within the function cleanHtml

    $purifier = self::getInstance()->purifier;

    $cleanhtml = $purifier->purify($html);

    // $styles = $purifier->context->get('StyleBlocks');

    //  if(count($styles) > 0) {

    //     $cleanhtml = "<style>".join("</style><style>", $styles)."</style>".$cleanhtml;

    // }

  • Jorge S Profile Picture
    on at

    Hi Rudolf, did you find a solution for this?

    I've noticed this happens only using Outlook client

  • Community Member Profile Picture
    on at

    Hello! I've found a solution. The problem is that system field called Description contains HTML and we must 'strip' this HTML from Description. We well use stripHTML control from North52. 

    These are the steps.

    1. Download North52. Instruction for installaton https://www.youtube.com/watch?v=YWhPO0p8wdQ&t=87s

    2. Add N52 Formula and select Process Genie. You should configure this like in the picture. We are adding Strip HTML control that will strip HTML from email message. Write command StripHtml([email.description]).

    North52.png 

    Call this Process Genie whatever you want. Note that in right corner there is Short Code. Remember this code.

    3. Now we are going to implement this in our workflow. Before you send email message through workflow, we must create our custom Description and use it instead of system description.

    4. Add step in workflow and call it for example Description N52. Add step=> North52=> N52 Process Genie. In properties write short code (in my example NRV)

    5. Now we have our custom description. Add step Send email message. Instead of choosing Email=> Description, you will chose custom Description N52 (result string). Add in your body and it should look like {Result String (Description N52)}

    Hope this helps.

    Happy CRM'ing!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans