Table of Contents

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

account MailAccountId

The account the email belongs to, as the run that stored it resolved.

email StoredEmailId

The email's stored identity.

Returns

ClassifyStoredEmailSpamJobPayload

The payload naming that email.