Method Refused
- Namespace
- MailFathom.Application.EmailContent.Rendering.Document
- Assembly
- MailFathom.Application.dll
Refused(MailDocumentRefusal)
Creates the document of a body the pane reads as plain text instead, and says why.
public static MailDocument Refused(MailDocumentRefusal refusal)
Parameters
refusalMailDocumentRefusalWhich of the three reasons it was.
Returns
- MailDocument
The document.
Exceptions
- ArgumentOutOfRangeException
Thrown when the reason given is that nothing was refused.