Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Suggested answer

Simply enabling editor changes how HTML is displayed in Outlook

(0) ShareShare
ReportReport
Posted on by 110

I'm in the process of creating some marketing email templates for use in case I'm not around. Unfortunately we have very image heavy HTML emails, though that is neither here nor there. The problem I'm having is that we have one bottom border in particular that displays differently in Outlook when the editor code is enabled in Dynamics. Example below. 

With "<meta type="xrm/designer/setting" name="type" value="marketing-designer-content-editor-document">" in <head>:

withcode.png

Without "<meta type="xrm/designer/setting" name="type" value="marketing-designer-content-editor-document">" in <head>:

withoutcode.png

I was trying to narrow down the problem, so this is literally with no other HTML touched. Gmail, of course, works just fine.

This must be a bug, right? Really, I just hope I'm missing something super obvious.

Thanks, all!

  • Nya Profile Picture
    Nya 29,058 on at
    RE: Simply enabling editor changes how HTML is displayed in Outlook

    Hi SEDE,

    It's great to hear that the issue has been solved.

    Thanks for the sharing.

    Best Regards,

    Nya

  • Suggested answer
    SEDE Profile Picture
    SEDE 110 on at
    RE: Simply enabling editor changes how HTML is displayed in Outlook

    Thanks, Nya. Unfortunately that's a background element, which the Dynamics editor doesn't touch as far as I am aware. In any case, it looks like I was able to fix the problem by adding an !important property to my line-height for the element in question.

    For anyone else that has this problem, here's an example:

    style="font-size:0pt; line-height:0pt !important; text-align:center;"

    Thanks,

    SEDE

  • Suggested answer
    Nya Profile Picture
    Nya 29,058 on at
    RE: Simply enabling editor changes how HTML is displayed in Outlook

    Hi SEDE,

    The meta you mentioned is added into <head> for showing the toolbox enabling the drag-and-drop editing only, which you can find in the following section:

    Use custom attributes to enable designer features in templates (Dynamics 365 Marketing) | Microsoft Docs

    with 

     pastedimage1625628313036v1.png

    without 

    pastedimage1625628324282v2.png

    It is possible that the toolbox is enabled and contains some border-style and border-radius settings which is not supported by Outlook.

    There is a note in the following section saying that “Microsoft Windows Outlook clients don't support all border-style and border-radius settings”.

    Use the designer tool (Dynamics 365 Marketing) | Microsoft Docs

     

    So it is recommended to change the settings from the right-hand toolbox to see if it can be resolved.

     

    If this helped you, I'd appreciate it if you'd mark this as a Verified Answer, which may in turn help others as well.

    Best Regards,

    Nya

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…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,962 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans