Used for removing Html tags and strings from Html content.
These options are used for removing and cleaning Html that can be detrimental to Html formatted emails.
| Member Name | Description |
|---|---|
| None | The Html is not altered. |
| Scripts | Removes <script> blocks and in-line scripts found in tags. |
| AppletTag | Removes <applet> tags. |
| ParamTag | Removes <param> tags |
| EmbedTag | Removes the <embed> tags. |
| ObjectTag | Removes <object> tags |
| IFrame | Removes <iframe> tags along with any inner Iframe content. |
| FrameSet | Removes the <frameset> tags and inner frameset content. |
| FrameTag | Removes the <frame> tags and any innter frame content |
| ViewState | Removes the ASP.NET __viewstate hidden <input> text from ASP.NET pages. |
| EventTarget | Removes the ASP.NET __eventtarget hidden <input> text from ASP.NET pages. |
| EventArgument | Removes the ASP.NET __eventargument hidden <input> text from ASP.NET pages. |
| NoScriptTag | Removes the <noscript> tags. |
| FormTag | Removes the <form> tags. |
| NoFramesTag | Removes the <noframes> tags and inner content. |
| HtmlComments | Removes Html comments from the Html. |
| InputHiddenTag | Removes the <Input type=hidden > tags. |
| InputTag | Removes the <Input ...> tags. |
| ReplaceWithEmptyString | Replace any removed Html tags with an empty string. |
| AnchorTag | This only removes the <a....> and </a> tags. It does not remove the content between the tags. |
| AnchorTagReplaceWithHref | Replaces the entire <a....>....</a> tag with the value of the href attribute. |
| All | Removes all content of the options. |
Namespace: aspNetEmail
Assembly: aspNetEmail (in aspNetEmail.dll)