DEV Community

Cover image for Legendary Emails in Node js with mjml πŸ“©

Legendary Emails in Node js with mjml πŸ“©

Ali nazari on June 30, 2024

Sometimes I receive emails from various companies and start-ups that look very attractive and audience-friendly. πŸ˜Άβ€πŸŒ«οΈ In their emails, they used a...
Collapse
 
silentwatcher_95 profile image
Ali nazari

by the way the MJML stands for *mailjet markup language * πŸšΆπŸ»β€β™‚οΈ

Collapse
 
jyoung4242 profile image
Justin Young

i'll file this away for my next project... thanks for the article

Collapse
 
alexswensen profile image
Alexander Swensen

I've used MJML in the past. It's effectively my go-to for beautiful emails both for campaigns and transactional emails (ie password resets, verification, etc)

Collapse
 
silentwatcher_95 profile image
Ali nazari

That's great to hear! MJML is definitely a powerful tool for creating visually appealing emails.

Collapse
 
ajmalleonard profile image
Ajmal Leonard

I think this is awesome, man. Can anyone write a post outlining how to use SMTPS (custom domain emails with Nodemailer)?
Kindly for anyone who achieved this show up , I'll appreciate 🦾

Collapse
 
george_taschina profile image
George Cosmin Taschina • Edited

Hi,
thank you for sharing and writing this article.

I was just curios, why not use some mail template providers to begin with?
Like SendGrid or MailJet

Thanks again!

Collapse
 
neurabot profile image
Neurabot

Impressive. Innovant.

Collapse
 
silentwatcher_95 profile image
Ali nazari

Thank you for your positive feedback! πŸ€—

Collapse
 
msamgan profile image
Mohammed Samgan Khan

MJML is an excellent resource for mailing. That is why I put it in default in Framework X. Check it out.

Collapse
 
ronaldohoch profile image
Ronaldo Hoch

I'm using this in my work, it's awesome.

Collapse
 
davitacols profile image
David Ansa

Is it free and integrate google's smtp for personal email use case testing?
I can be interested can it be used with PHP Laravel

Collapse
 
silentwatcher_95 profile image
Ali nazari

I think it can be used for any email services and to integrate MJML into your PHP app, you have to use its API.
happy coding ! πŸ€—

Collapse
 
stupid_evening profile image
Stupid Evening

thanks for sharing.. im glad to reach your posting.

Collapse
 
silentwatcher_95 profile image
Ali nazari

You're welcome! I'm glad you found it helpful.

Collapse
 
devendra_singh_a7317db5e3 profile image
Devendra Singh

We can achieve similar context using HTML in email. Is there any use case where only MJML succeeds and MJML fails.

Collapse
 
silentwatcher_95 profile image
Ali nazari

One of the things that makes mjml stand out is that you can create responsive templates with it, which can be tedious to do in normal html. 😣
In addition, mjml avoids the large amount of inline styles that are written in html