Usually I make emails handcoded, but one of my clients have started to use Salesforce Marketing Cloud, Email Studio. So I make templates intended for that system. But the layout breaks when viewed in Outlook.com and Office 365 (other email clients are fine).

I have been able to make a working template when I use the module ”Free Form” in Marketing Cloud, which only is a container for my handcoded html. But my client wants to use some functions for dynamic content, which forces me to use the tools for that purpose in the system. The dynamic content isn't working with ”Free Form”. So when trying to use the modules in the system, extra tags are inserted and the layout of the email totally breaks in Outlook.com and Office 365 (se attached images, working handcoded html is Test 23 and using the built-in modules is Test 24). I can also recreate the problem using one template right out of the box from Salesforce Marketing Cloud.

I insert links to the complete code for both of the emails (since the code is too long to publish here). Test 23 which is working, and Test 24 which is not (the content shown here is dummy content, and the layout requires some touch-up, but that's another thing). I would really appreciate help to solve this.

Below is images of Test 23 and Test 24. These images are screen dumps from test via Litmus. The email are ment to display as Test 23. The html code for each of the emails are to be found on these links:

This is code for Test 23

This is code for Test 24

Test 23 which have code that works in Outlook.com and Office 365

Test 24 which have code that doesn't work in Outlook.com and Office 365

1 Answer 1


There will always be some sort of rendering problems on Outlook, Windows 10 Mail and some lesser known Email clients (like GMX) if you are planning on using standard SFMC Content Builder blocks as they are.

While I haven't checked your code for the Emails, the client of yours needs to understand that by using Content Blocks the Email code is prepared by the SFMC in the back - and it will not always be 100% compatible with all devices / Email clients.

If client wants fully responsive Emails that work perfectly in all browsers/devices/clients then the only way to go is pure HTML/CSS with AMPScript.

With current scenario there are two options:

  • You create custom blocks (Free Form or HTML) that are prepared by you that already have all the Outlook specific fixes applied.

  • You utilize Content Builder SDK and create fully custom content blocks for the client to use. This is very code heavy option though.

Perhaps useful to read:

  • Thank you for answering so fast. Your first suggestion is, from what I have got from testing in Marketing Cloud, not possible. The function to link dynamic content is not available with the Free Form module. But I will look into your second proposition, even though it sounds a bit discouraging with the heavy code. I don't think my client is ready for the AMPscript part yet.
    – Lasse
    Commented Apr 30, 2019 at 12:54
  • 1
    Custom Blocks are a viable option - but it does require certain business rules and monitoring. For instance if someone highlights all and deletes inside the block, it can remove all your prefilled HTML and set it all to default - potentially ruining your pre-made block. These blocks will also need to be added into the email each time it is used and you need to make sure that the end user does not save over them or you could be utilizing a 'corrupted' version that can cause issues. Commented Apr 30, 2019 at 17:41
  • Thanks for the tips regarding custum blocks.
    – Lasse
    Commented May 3, 2019 at 15:24

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .