Skip to content

HTML/MJML in Outlook

0

Hi All, does anyone know if MJML is approved for us to use? I wrote a program newsletter in HTML which looks great when opened up in a browser, but gets destroyed in outlook due to it using Microsoft word to render HTML code. Trying to see what my options are.

1 Answer
0

When sending HTML emails that need to render properly in Outlook, you're facing a common challenge since Outlook uses Microsoft Word as its rendering engine, which has limited HTML/CSS support compared to web browsers.

MJML (Mail Jet Markup Language) is a framework designed specifically to address email rendering inconsistencies across different email clients, including Outlook. While I don't see specific AWS documentation approving or disapproving MJML usage, it's a widely used industry tool for creating responsive emails.

For sending HTML emails through AWS services like Amazon Pinpoint or SES, you have options:

  1. You can include both HTML and plain text versions of your email:
  • The HTML part (HtmlPart in Pinpoint or Html in SES) can contain your formatted newsletter
  • The text part (TextPart in Pinpoint or Text in SES) serves as a fallback for clients that don't render HTML well
  1. When designing HTML emails for Outlook compatibility:
  • Use simpler HTML structures
  • Avoid complex CSS that Outlook doesn't support
  • Consider table-based layouts which render more consistently in Outlook
  • Test thoroughly across email clients

If you're using MJML, you would compile it to HTML first, then use that generated HTML in your AWS email service's HTML part. This approach can help create emails that render more consistently across email clients, including Outlook.
Sources
Messages - Amazon Pinpoint
Users Messages - Amazon Pinpoint
Body - Amazon Simple Email Service
EmailMessageTemplateContentBody - Amazon Connect

answered 10 months ago

EXPERT

reviewed 10 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.