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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

HTML: This message includes HTML content that contains too many characters.

(0) ShareShare
ReportReport
Posted on by 217

Hello,

I am struggling with creating HTML E-Mails.

I can save the e-mail, but when checking for errors I get the error: "HTML: This message includes HTML content that contains too many characters.".

 

Does anybody have any idea what that error means?

Is there a limit in content length? Could not find any in the documentation.

 

Thanks for your help!

HTML-too-many-characters.JPG

I have the same question (0)
  • Verified answer
    cloflyMao Profile Picture
    25,210 on at

    Hi SImon,

    Reason that could causes the issue:

    1. Text content (include CSS rules) in your marketing email is larger than 100kb.

    2. An embedded base64 format image which is larger than 100kb on your marketing email

    100kb limitation documentation(in blue Important content box):

    https://docs.microsoft.com/en-us/dynamics365/customer-engagement/marketing/email-design#design-your-content

    There is a previous thread that the user had similar issue you met:

    https://community.dynamics.com/365/marketing/f/dynamics-365-for-marketing-forum/364936/email---this-message-has-html-content-which-is-too-large

    You could also find the answer and support documentation inside it.

    Regards,

    Clofly 

  • Simon Niederkircher Profile Picture
    217 on at

    Thanks for the reply. Unfortunately my error message is slightly difderent. Content is not "too large" (66kB) but it says, that it has "too many characters". The error comes at arcound 72.000 characters, but I can not find a definitive limit for that

  • Verified answer
    cloflyMao Profile Picture
    25,210 on at

    Hi Simon,

    It seems that the error notification had been changed in wave 2 release,

    when my test email was larger that 100kb, then I also got the error as yours.

    I tried to reproduce your issue with text below to fill content text block:

    Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
    
    
    
    Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolorLorem ipsum magna aliquyam erat, magna aliquyam erat, magna aliquyam a b.

    pastedimage1572921062512v1.png 

    But I didn't encounter issue you met, below is my configuration:

    1. There were 5 elements in my email:

    Text -> Head

    Divider

    Text -> Content (Lorem..)

    Divider

    Text -> ContentSettings

    2. My final content has 74907 characters. (74.5kb)

    3. My final HTML size is 88.6kb.

    So had you added any other element on your marketing email ?

    Had you checked your final email size ?

    Regards,

    Clofly

  • Simon Niederkircher Profile Picture
    217 on at

    Still running into that issue.

    One of the problems that happen: In the HTML Editor window, I paste minified HTML (40 kB when saved to a file)

    But Dynamics manages to render that as 136 KB in the HTML output (see Screenshot). Hence the check fails because the 100kB are exceeded.

    What the heck?!

    pastedimage1576849955202v1.png

  • Verified answer
    cloflyMao Profile Picture
    25,210 on at

    Hi Simon,

    I'm not clear about how does marketing email editor process HTML source code to HTML output,

    even thought I also found that output size is larger than source after test.

    As the definition described, final output might contains more contents than source code.

    pastedimage1576853606323v1.png

    here are some extra contents in output:

    <!--[if gte mso 9]>

    pastedimage1576853858647v2.png

    the snippet is used to render content properly in Outlook desktop client and it has been added automatically by CRM.

    In coclusion, you could do:

    1. Try to remove contentss you don't want in Output code.

    2. Make you original HTML source code more simplified.

    3. Share your HTML source code if possible, I'll try to find whether any element could be removed to get final size smaller than origin. 

    In addition, please kindly hide your org URL in sceenshot, which may cause privacy leak. Thanks.

    Regards,

    Clofly

  • Simon Niederkircher Profile Picture
    217 on at

    Thanks for your support!

    By simplyfying the HTML and following some of the best practises already posted by you I was able to get far below the limit. Even very content rich emails are now below 50KB.

    Some lessons learned:

    Oulook optimization is mostly done when using Default Toolbox. Before we had a responsive html template with lots of nested elements. Also our design agency gave us HTML that already included Outlook Optimization Tags. So they were added twice. Once by us and another time in the html output.

    I recreated the template from scratch using the blank out of the box template. With Dynamics drag and drop tools and minor refinements in the html. Dynamics then adds outlook optimization into the output but still now much less.

  • cloflyMao Profile Picture
    25,210 on at

    Hi Simon,

    Thanks for sharing your using experience.

    Regards,

    Clofly

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 120 Super User 2026 Season 1

#2
Jimmy Passeti Profile Picture

Jimmy Passeti 46 Most Valuable Professional

#3
NeerajPawar Profile Picture

NeerajPawar 41

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans