Defines the available attributes of <A HREF> tags contained in HTML message body which can be affected by cleanup process during parsing the message.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
In order to display an HTML body of a message in the browser, it's a common practice to process links in a certain way. For instance, the developer may wish to apply specific styles or attributes to each <A HREF> tag (such as add target=_blank attribute to make links open in a new window). The existing attributes need to be deleted in this case (otherwise, they would interfere with the new ones).
To specify which attributes of <A HREF> tags must be deleted during parsing the message, the developer should set MailMessage.Parser.AHRefCleanup property.
To specify which attributes need to be added to <A HREF> tags, the developer should set MailMessage.Parser.AHRefSuffix property.
Note More advanced processing of HTML documents is supported by MailBee.Html classes.
| Member Name | Description | Value |
|---|---|---|
| None | No attributes will be affected. | 0 |
| Target | The target attribute will be affected. | 1 |
| ClassAndStyle | The class and style attributes will be affected. | 2 |
| Onclick | The onclick attribute will be affected. | 4 |
Namespace: MailBee.Mime
Assembly: MailBee.NET (in MailBee.NET.dll)
MailBee.Mime Namespace | Parser | AHRefCleanup | AHRefSuffix