Skip to main content

Notifications

Announcements

No record found.

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 129

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!

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

    Thank you!

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

    Thank you!

  • Verified answer
    Nya Profile Picture
    Nya 29,058 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
    Dsouza_28 Profile Picture
    Dsouza_28 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. 

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,321 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans