Table of Contents

Property RetainRemoteImageReferences

Namespace
MailFathom.Application.Emails.GetEmailContent
Assembly
MailFathom.Application.dll

RetainRemoteImageReferences

Gets whether the reduced document may carry this message's remote picture references.

public bool RetainRemoteImageReferences { get; init; }

Property Value

bool

Remarks

It is a per-message act by the reader: asking for it loads what the sender's message reaches for, which tells whoever wrote it that it was opened and from where. Nothing remembers the answer, so it is asked again the next time the message is opened — and the request refuses to carry the consent across a list, because one reader deciding about one message is exactly what it means and a read naming ten would apply it to nine they never saw.

What it widens differs by representation, because what each one can carry differs. The reduced document has a picture's source and nothing else, so that is the whole of it there. The self-contained markup carries a background and a web font besides, and both are addresses the same fetch would reveal the same thing through — so the consent restores them or the surface would draw a layout missing exactly the parts it was opened to see. It restores nothing that runs in either, and nothing the pass deciding a URL cannot answer for: an @import names a stylesheet that pass never read, and a srcset is a list the check behind it reads as one address, which is what leaves both refused whether or not it was asked for.

Exceptions

InvalidOperationException

Thrown when it is asked for by a request naming other than one email.