MJML is built using the React.js framework to generate responsive HTML emails for multiple mail clients.
Questions tagged [mjml]
144 questions
0
votes
2 answers
React JS | Render Multiple Elements
I am trying to create a email in React using the MJML email library. It runs off react and I have it all working but I need to render 2 sections rather than 1. When I render 1 it doesn't appear properly on the webpage as I need them to be different…

cmiotk
- 195
- 1
- 2
- 10
0
votes
1 answer
Responsiveness in MJML
When using MJML to create the email templates, it provides the carousel feature in email templates. Here is the code from the their sample. (icon-width and tb-width were added by me)
…

He Wang
- 647
- 7
- 19
0
votes
2 answers
Change newsletter header image on mobile device
I've done a newsletter with mjml framework.
I have to change the header image on mobile devices, but how?
The framework is very helpful for doing bulletproof newletters, but doesn't support different images for different viewport.
This is the header…
0
votes
0 answers
Call a nodejs script from an asp.net Web API
We have a REST API currently built using ASP.NET Web API and it's hosted on Azure.
One of our methods needs to compile an email template using the MJML language. Only problem is that there isn't an asp.net compiler for MJML, it's written in Node.js…

jonhobbs
- 26,684
- 35
- 115
- 170
-1
votes
1 answer
Outlook Windows not rendering correctly height, it should have the same height of the first column like in other email providers
Correct rendering and code
Pedrito
- 1
- 1
-1
votes
1 answer
Error: cannot convert from "string" to "MimeKit.MimeMessage"
I want to send a email
public readonly IMjmlServices _mjmlServices;
bodyBuilder.HtmlBody += $" mj - table > mj - column > mj - section > mj - body > mjml >";
bodyBuilder.TextBody += $"This is some plain…
harish
- 1
-1
votes
1 answer
MJML - Add a image with specific width for Outlook
right now I'm trying to create an email template with MJML. I'm testing the results with litmus and so far the template is perfect for every email client. But
Outlook 365 - on Windows
Outlook 2019 - on Windows
are just stretching the image to 100%…
Nick Kruger
- 51
- 3
-1
votes
2 answers
How to center MJML column while using text-align:left
I'm trying to center a mjml container but assign the text to left-adjustment.
I've been playing around with align="center" and text-align in various tags, but I can't seem to find a solution.
R Barnes
- 486
- 1
- 5
- 18
-2
votes
2 answers
Text shadow in mjml for email html
Is it possible to create a text shadow in mjml? I would like the shadow to work with as many email clients as possible.
oobarbazanoo
- 397
- 1
- 5
- 15
Correct rendering and code