Method AccountsForMessageAt
- Namespace
- MailFathom.Domain.Delivery.Filing
- Assembly
- MailFathom.Domain.dll
AccountsForMessageAt(RemoteFolderPath, string?)
Reports whether a newly discovered occurrence carries the identity of the message this filing appended.
public bool AccountsForMessageAt(RemoteFolderPath discoveredFolderPath, string? discoveredMessageId)
Parameters
discoveredFolderPathRemoteFolderPathThe remote path of the folder the occurrence was discovered in.
discoveredMessageIdstringThe
Message-IDthe server reported for the discovery, which may be absent.
Returns
Remarks
This is the join for a server that advertises no UIDPLUS, and it is a comparison of identities rather than
a search for something that looks like the message: MailFathom minted the value, it is unguessable, and it is in
the bytes that were appended. What it is not is the server's own statement, which is why the reported placement is
preferred wherever there is one.
The folder is compared too, so the same message filed into two folders is joined to the filing whose folder it was found in rather than to whichever row sorted first.