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!
Hi Simon,
Thanks for sharing your using experience.
Regards,
Clofly
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.
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.
here are some extra contents in output:
<!--[if gte mso 9]>
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
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?!
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.
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
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
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):
There is a previous thread that the user had similar issue you met:
You could also find the answer and support documentation inside it.
Regards,
Clofly
André Arnaud de Cal...
292,031
Super User 2025 Season 1
Martin Dráb
230,868
Most Valuable Professional
nmaenpaa
101,156