Skip to main content

Notifications

Announcements

No record found.

Customer Insights - Journeys forum

Marketing emails size limit

Posted on by 135

We are seeing an issue when creating Marketing App emails, it is throwing out the following message:

HTML: MessageContentValidator_MsgCode_MessageHtmlContentTooLarge

I tried to reduce the size of html content, and still no go. has anyone else seen this issue and know how to fix this?

I am also curious what is the default email size limit on Marketing App.

  • Hakki Isik Profile Picture
    Hakki Isik 135 on at
    RE: Marketing emails size limit

    Hi Joannis,

    Please try the following steps to check the email size:

    Can you follow these instructions as per documentation to obtain the HTML size?

    1. Open a web browser and enter a URL of the form: https://<your_domain>/api/data/v9.0/msdyncrm_marketingemails(<email_id>)

    Where:

    • <your_domain> is the root of your Dynamics 365 for Marketing instance (such as "contoso.crm.dynamics.com").

    • <email_id> is the ID for the message you want to check. To find this ID, open the message in Dynamics 365 for Marketing and find the value of the id= parameter shown in your browser's address bar.

    2. Search for the value of the field "msdyncrm_emailbody" in the returned JSON.

    3. Copy the value of that field into a text program that can tell you the exact size of the HTML content

    Few things you can do to reduce the email size:

    1. Compress your images

    2. Embed the image instead of inserting the image

    These would help reducing the email size.

    If none of these works, you can enable an extension in Visual Studio code to minify the css and js and insert the html created form minify to your email in Marketing App.

  • Joannis Papazissis Profile Picture
    Joannis Papazissis 245 on at
    RE: Marketing emails size limit

    Hey Hakki,

    could you give us more information to your solution. We do have the same issues....

  • Suggested answer
    Hakki Isik Profile Picture
    Hakki Isik 135 on at
    RE: Marketing emails size limit

    I used an extension for Visual Studio Code to Minify the html and that did work reducing the message size.

  • Gaius Profile Picture
    Gaius 5 on at
    RE: Marketing emails size limit

    Hi There.

    Did you get any feedback on this issue? We are currently experiencing the same challenge!

  • Carolin Profile Picture
    Carolin 125 on at
    RE: Marketing emails size limit

    Hi Megan,

    is there an update on your side possible? Will the size limit be increased?

    Thanks in advance, Carolin

  • Hakki Isik Profile Picture
    Hakki Isik 135 on at
    RE: Marketing emails size limit

    Megan,

    Thank you for your response. This size limit is creating issues especially with newsletters. I noticed most of the increase is caused by css inserts done by Marketing App. Couple questions:

    1. is there a way to reduce the size by stripping the css/styles inserted by Marketing App?

    2. Can images be embedded through external link to reduce the message size?

    Also any plans to increase the size limit? We ended up using another application to send out the newsletter, but would prefer using Marketing App.

    Thanks.

  • Verified answer
    megcda Profile Picture
    megcda 2,192 on at
    RE: Marketing emails size limit

    Hi Hakki,

    There is a limit of 128 KB on email messages.  You can find more information on this with this help documentation link.

    Thanks,

    Megan

    Please mark as Verified if this answered your question!

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans