MailBee.NET Objects 3.1

HtmlToPlainConvertOptions Enumeration

Defines the available flags which affect how HTML body of a message is converted into plain text.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

public enum HtmlToPlainConvertOptions

Remarks

You can set any combination of these options via MailMessage.Parser.HtmlToPlainOptions property.

By default (None value), all HTML tags are removed and line terminators are inserted instead of HTML's line terminators such as <br>, <p>, etc.

Note   URI is a synonym of an URL.

Members

Member Name Description Value
None No extra processing. 0
AddImgAltText Alternative text contained in the ALT attribute of the <IMG> tag will be put into plain-text. 1
WriteImageIfNoAlt If alternative text was not set in the <IMG> tag, the image string will be put into plain text. 2
AddUriForImg For each image, its URI will be placed into plain text. 4
AddUriForAHRef The URI contained in the <a href=""> tag will be put into plain-text after the content of this tag. For instance, if HTML was <a href="http://www.afterlogic.com">AfterLogic Corporation</a>, the plain-text version will be AfterLogic Corporation <http://www.afterlogic.com>. 8

Requirements

Namespace: MailBee.Mime

Assembly: MailBee.NET (in MailBee.NET.dll)

See Also

MailBee.Mime Namespace | Parser | HtmlToPlainOptions | HtmlToPlainMode