Click or drag to resize

HtmlBodyBuilder Class

Builds the HTML body part for a mail message using AngleSharp. Image references will be converted to embedded cid content. Image references may include {Placeholders}. {Placeholders} in the HTML Body and will be replaced by variable values.
Inheritance Hierarchy

Namespace:  MailMergeLib
Assembly:  MailMergeLib (in MailMergeLib.dll) Version: 5.6.1.0
Syntax
internal class HtmlBodyBuilder : BodyBuilderBase

The HtmlBodyBuilder type exposes the following members.

Constructors
  NameDescription
Public methodHtmlBodyBuilder
Constructor.
Top
Properties
  NameDescription
Public propertyBadInlineFiles
Gets inline files referenced in the HTML text, that were missing or not readable.
Public propertyBinaryTransferEncoding
Gets or sets the transfer encoding for any binary content (e.g. Base64)
Public propertyCharacterEncoding
Gets or sets the encoding to be used for any text content (plain text and/or HTML)
(Inherited from BodyBuilderBase.)
Public propertyDocBaseUri
Gets or sets the absolute local base URL of the HTML document. This is used for building the path of embedded images. Can be an UNC path string (e.g. \\server\path), a local folder string (e.g. C:\user\x\document), or a URI string (e.g. file://c:/user/x/document)
Public propertyDocHtml
Get the HTML representation of the source document
Public propertyInlineAtt
Gets the list of inline attachments (linked resources) referenced in the HTML text.
Public propertyTextTransferEncoding
Gets or sets the transfer encoding for any text (e.g. SevenBit)
(Inherited from BodyBuilderBase.)
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetBodyPart
Gets the ready made body part for a mail message either - as TextPart, if there are no inline attachments - as MultipartRelated with a TextPart and one or more MimeParts of type inline attachments
(Overrides BodyBuilderBaseGetBodyPart.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks
Removes any Script sections.
See Also