HtmlForgeX

API Reference

Enum

EmailImageEmbeddingMode

Namespace HtmlForgeX.Email
Assembly HtmlForgeX.Email
Base Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers sealed

Controls how images are embedded when automatic embedding is enabled.

Inheritance

  • Enum
  • EmailImageEmbeddingMode

Values

public const EmailImageEmbeddingMode None #

No embedding; image sources stay as provided.

Value: 0
public const EmailImageEmbeddingMode Base64DataUri #

Embed images as base64 data URIs.

Value: 1
public const EmailImageEmbeddingMode ContentId #

Embed images as inline attachments (CID). The rendered HTML will reference cid:... sources and RenderAsync will return the inline resources to attach via your mail library.

Value: 2