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

Is it possible to add into C#/MVC Web Application? #121

Open
tayyab48 opened this issue Jul 24, 2024 · 2 comments
Open

Is it possible to add into C#/MVC Web Application? #121

tayyab48 opened this issue Jul 24, 2024 · 2 comments

Comments

@tayyab48
Copy link

Hi,

Is it possible to add into C#/MVC Web applications.
If yet, can you please suggest a way out?

@cohitre
Copy link
Member

cohitre commented Aug 16, 2024

We don't have a way to embed the editor into other applications at the moment. Can you elaborate about what you're trying to accomplish?

@dariomrk
Copy link

Hi @tayyab48,

Here's how I recently utilized the EmailBuilder in conjunction with an ASP.NET Core app:

  • Add a templating engine to your project:
    I used the RazorLight templating engine / library, but any templating engine should work fine (there's plenty of options for .NET).
  • Create an email template:
    Use this tool to generate your email template, then copy the generated HTML output.
  • Adjust the HTML to meet your specific needs:
    I separated the HTML into a common layout and the body.
    For dynamic content, I leveraged the templating engine to inject data where needed.

Hope this helps!

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

No branches or pull requests

3 participants