Class ProviderCapabilities
Describes the capabilities a provider offers.
public sealed class ProviderCapabilities
- Inheritance
-
ProviderCapabilities
- Inherited Members
Constructors
ProviderCapabilities(bool, bool, bool, bool, bool)
Creates a capabilities descriptor.
public ProviderCapabilities(bool supportsAttachments = true, bool supportsInlineImages = true, bool supportsHeaders = true, bool supportsTags = true, bool requiresBothBodies = false)
Parameters
supportsAttachmentsboolsupportsInlineImagesboolsupportsHeadersboolsupportsTagsboolrequiresBothBodiesbool
Properties
All
A capabilities descriptor representing every option.
public static ProviderCapabilities All { get; }
Property Value
BodyOnly
A capabilities descriptor representing a provider that only sends text/HTML bodies.
public static ProviderCapabilities BodyOnly { get; }
Property Value
RequiresBothBodies
True when the provider is limited to HTML-only or text-only messages.
public bool RequiresBothBodies { get; }
Property Value
SupportsAttachments
True when the provider supports sending attachments.
public bool SupportsAttachments { get; }
Property Value
SupportsHeaders
True when the provider supports custom headers.
public bool SupportsHeaders { get; }
Property Value
SupportsInlineImages
True when the provider supports inline images (cid: references).
public bool SupportsInlineImages { get; }
Property Value
SupportsTags
True when the provider supports arbitrary tags for analytics.
public bool SupportsTags { get; }