AHRefTagAttributes Enumeration |
Namespace: MailBee.Mime
Member name | Value | Description | |
---|---|---|---|
None | 0 | No attributes will be affected. | |
Target | 1 | The target attribute will be affected. | |
ClassAndStyle | 2 | The class and style attributes will be affected. | |
Onclick | 4 | The onclick attribute will be affected. |
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. |