MailView
CompleteShows the HTML of an e-mail message that comes from outside. The HTML runs in a sandboxed frame without scripts, with a strict content security policy, so it cannot touch the page of the application. Pictures from the internet are blocked until the reader allows them, and links whose shown address differs from the real one are turned off.
Example

Parameters
| Parameter | Type | Description |
|---|---|---|
Class | string | Extra CSS classes added to the root element. |
Dark | bool | Dark background with light text for messages that set no colours of their own. |
Fill | bool | Fills the height of the parent element; the message scrolls inside. |
Height | string | Height of the frame as a CSS length (default 32rem). Ignored with Fill. |
Html | string | The HTML of the message. |
Label | string | Accessible title of the frame (default Message). |
MaxLength | int | The longest HTML that is shown, in characters (default 2,000,000). |
ShowRemoteImages | bool | Allows pictures from the internet (default false). Two-way. |
Style | string | Inline style added to the root element. |
Events
| Event | Type | Description |
|---|---|---|
ShowRemoteImagesChanged | EventCallback<bool> |
Package
MailView is part of RayCraft Complete. Package: RayCraft.Blazor.Complete. It comes from the private RayCraft feed and needs an active license. See Getting started.
Send feedbackVersion 1.0.3