AHRefTagAttributes Enumeration
Defines the available attributes of <A HREF> tags contained in HTML message body which can be affected by cleanup process during parsing the message.

Namespace: MailBee.Mime
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax
[FlagsAttribute]
public enum AHRefTagAttributes
Members
  Member nameValueDescription
None0 No attributes will be affected.
Target1 The target attribute will be affected.
ClassAndStyle2 The class and style attributes will be affected.
Onclick4 The onclick attribute will be affected.
Remarks

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 Note
More advanced processing of HTML documents is supported by MailBee.Html classes.
See Also