Property RetainRemoteImageReferences
- Namespace
- MailFathom.Application.EmailContent.Rendering
- Assembly
- MailFathom.Application.dll
RetainRemoteImageReferences
Gets whether the reduced document may carry the message's remote picture references.
public bool RetainRemoteImageReferences { get; init; }
Property Value
Remarks
False by every default, which is what defeats a tracking pixel by construction rather than by a renderer honouring a setting: the addresses are dropped while the document is built, so there is nothing for a rendering defect to fetch. True only where the reader asked for this message's remote content, having been told what that reveals to whoever wrote it.
In the reduced document it widens exactly one thing — http and https on a picture's source, and
nowhere else. A link's target is unaffected because it was never fetched, and no other reference exists in the
tree to widen. The self-contained markup has more that a renderer resolves unasked — a background and a web
font — so there it widens those as well, which is the same consent applied to everything that would have acted
on it. It restores no executable construct in either, and it restores nothing the pass deciding a URL cannot
answer for — the stylesheet an @import names, which that pass never read, and a srcset, which the
check behind it reads as one address — which is what leaves both refused in every read.