Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider supporting MJML #103

Open
sdelamo opened this issue Jul 5, 2022 · 2 comments
Open

Consider supporting MJML #103

sdelamo opened this issue Jul 5, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@sdelamo
Copy link
Contributor

sdelamo commented Jul 5, 2022

Feature description

https://mjml.io

@mkimberlin
Copy link

mkimberlin commented Jul 5, 2022

We use MJML to help with the creation of appealing, responsive emails. As I understand it there are a couple of ways to interact with MJML templates. The first is using the MailJet API. I know of a couple of java libraries that have tried to enable this:

There is also a JavaScript library that performs the conversion without a call to the REST API:

We have a couple of needed use cases. The first and currently implemented is the loading of an MJML file from our web UI and conversion on the frontend with the JavaScript library, which is sent as HTML to our Micronaut app. While we could handle that by sending that over to the API, I'm not sure that we have a specific reason to do that. However, I could see the potential for a use case where someone might want to send over the MJML file for processing on the server. However, we definitely need to have the ability to store templates as resource files in our app and then be processed, rendered (including dropping in templated values), and sent in response to events and scheduled notifications.

@sdelamo sdelamo added the enhancement New feature or request label Aug 2, 2022
@sdelamo
Copy link
Contributor Author

sdelamo commented Aug 2, 2022

I think this probably would need to be implemented in Micronaut Views.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants