Table of Contents

Constructor MailDocumentLink

Namespace
MailFathom.Application.EmailContent.Rendering.Document
Assembly
MailFathom.Application.dll

Where one of a message's links goes, and what the service made of the way it was written.

public MailDocumentLink(string Target, string? Host, string? AsciiHost, MailLinkDeception Deception)

Parameters

Target string

The absolute target, resolved and carrying only a scheme this contract admits.

Host string

The target's host as a reader recognizes it, or null for a target that has none.

AsciiHost string

The same host in its ASCII form, present only where the two differ.

Deception MailLinkDeception

What the link's own text said about where it goes.

A target is the one sender-controlled absolute address the default path carries on purpose, and the reason is the whole of this type: a reader has to be shown where a link goes before following it, which needs the address. It is never resolved for any other purpose — no preview, no favicon, no preloading — because each of those would turn a target nobody clicked into a request the sender receives.

AsciiHost is present exactly when the host's Unicode and ASCII forms differ, which is what makes a homograph visible as one rather than as an ordinary name. A client shows both wherever it is present and nothing extra where it is not.

Only http, https, and mailto reach here. A link the reduction could not resolve to one of those leaves its text behind as ordinary words rather than as something a reader could follow.