Table of Contents

Method AccountsForPlacementAt

Namespace
MailFathom.Domain.Mutations
Assembly
MailFathom.Domain.dll

AccountsForPlacementAt(RemoteFolderPath, ImapUidValidity, ImapUid)

Reports whether a newly discovered occurrence is one this mutation put there.

public bool AccountsForPlacementAt(RemoteFolderPath discoveredFolderPath, ImapUidValidity discoveredUidValidity, ImapUid discoveredUid)

Parameters

discoveredFolderPath RemoteFolderPath

The remote path of the folder the occurrence was discovered in.

discoveredUidValidity ImapUidValidity

The UIDVALIDITY that folder reports now.

discoveredUid ImapUid

The UID the discovered occurrence carries.

Returns

bool

true when the server itself named this occurrence as where it put the email.

Remarks

This is the provenance question, and it is asked of every mutation that places an occurrence rather than only of the one that also carries the local row across. A message MailFathom put in a folder arrives at the forward pass as an ordinary discovery, and whether it was moved or copied there changes nothing about whose act it was.