Method For
- Namespace
- MailFathom.Application.Jobs.Payloads
- Assembly
- MailFathom.Application.dll
For(MailAccountId, StoredEmailId)
Describes one stored email as the document a job carries.
public static ClassifyStoredEmailSpamJobPayload For(MailAccountId account, StoredEmailId email)
Parameters
accountMailAccountIdThe account the email belongs to, as the run that stored it resolved.
emailStoredEmailIdThe email's stored identity.
Returns
- ClassifyStoredEmailSpamJobPayload
The payload naming that email.