Method MailArrived
- Namespace
- MailFathom.Application.Signals
- Assembly
- MailFathom.Application.dll
MailArrived(MailAccountId, MailFolderAlias, int)
States that a synchronization run committed mail into one folder.
public static ClientSignal MailArrived(MailAccountId account, MailFolderAlias folder, int newEmailCount)
Parameters
accountMailAccountIdThe account the run was over.
folderMailFolderAliasThe folder the mail was committed into.
newEmailCountintHow many occurrences the run committed there.
Returns
- ClientSignal
The signal.
Exceptions
- ArgumentOutOfRangeException
Thrown when
newEmailCountis not positive, an arrival of nothing being no arrival.