Enum MailSynchronizationMode
- Namespace
- MailFathom.Domain.Synchronization
- Assembly
- MailFathom.Domain.dll
States what makes a folder's next synchronization pass start.
public enum MailSynchronizationMode
Fields
Polling = 0The folder is reconciled on the account's configured interval and nothing else starts a pass.
Push = 1The folder holds a session that waits for the mail server to report a change, and a change starts a pass at once.
Remarks
The same two names describe what an operator asked for and what a folder actually got, because the second is only ever the first or the fallback below it. A server that advertises no push mechanism, and a folder whose push attempts kept failing, both leave the folder on Polling while configuration still says Push — which is exactly why the effective mode is reported rather than inferred from configuration.
Neither mode changes what a pass does. Both run the same synchronization, over the same read-only session, with the same bounds; the mode decides only when the next one begins.