Create a View in Browser for email

2025/12/01 12:40 PM

I want to create a Header Email widget with the option to view the email in a browser. In previous version I found the use of {% Email.IssueViewUrl %} which is not supported for Xperience by Kentico. My question is, how do i recreate the email sent to a recipient in a controller? How to create te redirect link containing which necessary information? Please let me know of any impolementation.

I have come across the following objects to (maybe) use: EmailPreviewTab, EmailConfiguration, IEmailContextAccessor, EmailRecipientContext.


Environment

Answers

2025/12/02 9:05 PM

Unfortunately, we don't have any way to display an email widget on a web page or a way to retrieve an email's structured content fields from a web page.

Support for this type of thing might come in the future when we enable the same newer technology in the Page Builder that we use for emails.


If "open in web browser" is really important for you, a possible solution would be modeling your email as a single reusable content item that is linked to the email. You could then generate a link to a web page that retrieves this reusable content item, but you would need to figure out a creative way to display its content in the browser without using your email channel Razor components.

To response this discussion, you have to login first.