Table of Contents

Class PostmarkEmailProvider

Namespace
MailForge.Postmark
Assembly
MailForge.Postmark.dll

Delivers email through the Postmark API (https://postmarkapp.com) using HttpClient.

public sealed class PostmarkEmailProvider : IEmailProvider
Inheritance
PostmarkEmailProvider
Implements
Inherited Members

Constructors

PostmarkEmailProvider(PostmarkOptions)

Creates the provider from Postmark options.

public PostmarkEmailProvider(PostmarkOptions options)

Parameters

options PostmarkOptions

Properties

Capabilities

The capabilities descriptor.

public ProviderCapabilities Capabilities { get; }

Property Value

ProviderCapabilities

Name

The provider display name.

public string Name { get; }

Property Value

string

Methods

SendAsync(EmailMessage, CancellationToken)

Transmits a message through the Postmark API.

public Task<ProviderDeliveryResult> SendAsync(EmailMessage message, CancellationToken cancellationToken = default)

Parameters

message EmailMessage
cancellationToken CancellationToken

Returns

Task<ProviderDeliveryResult>