Defines the available flags which affect how HTML body of a message should be converted into simple HTML.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
You can set any combination of these options via MailMessage.Parser.HtmlToSimpleHtmlOptions property.
| Member Name | Description | Value |
|---|---|---|
| None | No extra processing. | 0 |
| AddImgAltText | The alternative text (contents of ALT element of IMG tag) will be put in simple HTML in place of this image in the original HTML. If this flag is not set, no mention of the image will be available in the resulting simple HTML. | 1 |
| WriteImageIfNoAlt | If there is no alternative text for the image, the "image" string will be added as the alternative text. Has no effect if AddImgAltText flag is not specified. | 2 |
| MakeLinkForImg | Make alternative text of the original image a link to the original image. For example, if the original HTML was <img src="http://www.server.com/picture.gif" alt="Our Picture">, the following simple HTML is produced: <a href="http://www.server.com/picture.gif">Our Picture</a>. Has no effect if AddImgAltText flag is not specified. | 4 |
Namespace: MailBee.Mime
Assembly: MailBee.NET (in MailBee.NET.dll)
MailBee.Mime Namespace | Parser | HtmlToSimpleHtmlMode | HtmlToSimpleHtmlOptions