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

Community site session details

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

How to know the email size in marketing app

(0) ShareShare
ReportReport
Posted on by 133

Hi,

We got a notification said the marketing email (a newsletter) is too large.

Is it possible to check the exact size of the email in marketing app instead of sending a test email and to check the size in Outlook/Gmail/... ?

Thank you in advance for your help!

I have the same question (0)
  • Suggested answer
    Dsouza_28 Profile Picture
    7 on at
    RE: How to know the email size in marketing app

    Hi ,

    I do not know of a direct way to check within Dynamics, but there are 2 possible solutions to your problem:

    A) Check the size of the HTML content: (at present the limit is at 100kb-128kb)

    If you have a message that you suspect violates the HTML size limit, do the following:

    • 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 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 Marketing and find the value of the id= parameter shown in your browser's address bar.
    • Search for the value of the field "msdyncrm_emailbody" in the returned JSON.

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

     The above documentation is taken from: Maximize email deliverability (Dynamics 365 Marketing) | Microsoft Docs

    B) Increase your Email attachment size limit:

    The default size limit for attachments is 5120kB/5MB but can be increased to 32768Kb/32MB and 131072Kb/128MB for depending on your version of CRM. 

    Go to Settings > Administration > System Settings

    In the Email tab, find "Set file size limit for attachments" and modify "Maximum file size (in kilobytes)" to the size limit you would require:

    6470.3.JPG

    Hope this helps as a workaround. 

  • Verified answer
    Nya Profile Picture
    29,060 on at
    RE: How to know the email size in marketing app

    Hi,

    When you go live with a message, Marketing processes the HTML content to create inline styles, compress spaces, and more, so it can be hard to know the exact final size of the message. If you have a message that you suspect violates the HTML size limit, do the following:

    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 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 Marketing and find the value of the id= parameter shown in your browser's address bar.
    1. Search for the value of the field "msdyncrm_emailbody" in the returned JSON.

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

  • Suggested answer
    xhj45 Profile Picture
    133 on at
    RE: How to know the email size in marketing app

    Thank you!

  • Suggested answer
    xhj45 Profile Picture
    133 on at
    RE: How to know the email size in marketing app

    Thank you!

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 > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 179 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 110

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 61 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans