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

Email Generation Using Blazor #40758

Closed
1 task done
taylorchasewhite opened this issue Mar 17, 2022 · 1 comment
Closed
1 task done

Email Generation Using Blazor #40758

taylorchasewhite opened this issue Mar 17, 2022 · 1 comment
Labels
area-blazor Includes: Blazor, Razor Components ✔️ Resolution: Duplicate Resolved as a duplicate of another issue Status: Resolved

Comments

@taylorchasewhite
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe the problem.

I am creating a Blazor WASM application, and as a part of that application, I want to send HTML emails using the same styling and components that we use throughout our Blazor WASM application, rather than write the same components in a separate email-sending service.

Describe the solution you'd like

In an ideal world, the flow to do this would be as easy as possible, where:

  • A page is generated using the Blazor/Razor rendering engine, and instead of CSS files linked, they are inlined into the DOM.
  • The page is essentially "prerendered" on the server, and the HTML output to a string to be sent in the body of an email.

I am wondering if prerendering is/would be, the right tool for this?

Additional context

Are there other approaches people use to "reuse" components that they've written when generating emails?

@mkArtakMSFT mkArtakMSFT added the area-blazor Includes: Blazor, Razor Components label Mar 17, 2022
@javiercn
Copy link
Member

@taylorchasewhite thanks for contacting us.

This is a dupe of #38114, so we will track it there. I would suggest that you up-vote that issue instead.

@javiercn javiercn added the ✔️ Resolution: Duplicate Resolved as a duplicate of another issue label Mar 17, 2022
@ghost ghost added the Status: Resolved label Mar 17, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Apr 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-blazor Includes: Blazor, Razor Components ✔️ Resolution: Duplicate Resolved as a duplicate of another issue Status: Resolved
Projects
None yet
Development

No branches or pull requests

3 participants