Class PostmarkEmailProvider
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
optionsPostmarkOptions
Properties
Capabilities
The capabilities descriptor.
public ProviderCapabilities Capabilities { get; }
Property Value
Name
The provider display name.
public string Name { get; }
Property Value
Methods
SendAsync(EmailMessage, CancellationToken)
Transmits a message through the Postmark API.
public Task<ProviderDeliveryResult> SendAsync(EmailMessage message, CancellationToken cancellationToken = default)
Parameters
messageEmailMessagecancellationTokenCancellationToken