Skip to content

Interface IMailgunInvitationDeliveryClient

Namespace: Cephalon.MultiTenancy.Governance.MailgunDelivery.Services
Assembly: Cephalon.MultiTenancy.Governance.MailgunDelivery.dll

Sends Mailgun invitation delivery messages for the Mailgun companion pack.

public interface IMailgunInvitationDeliveryClient

Hosts can replace this service to route Messages API requests through a custom Mailgun client, test double, gateway, or platform-specific HTTP policy while retaining the same Cephalon invitation dispatcher and sender metadata contract.

SendAsync(MailgunInvitationDeliveryMessage, CancellationToken)

Section titled “ SendAsync(MailgunInvitationDeliveryMessage, CancellationToken)”

Sends one Mailgun invitation delivery message.

ValueTask<MailgunInvitationDeliveryClientResult> SendAsync(MailgunInvitationDeliveryMessage message, CancellationToken cancellationToken = default)

message MailgunInvitationDeliveryMessage

The message prepared by the Mailgun invitation delivery sender.

cancellationToken CancellationToken

A token that cancels the send operation.

ValueTask<MailgunInvitationDeliveryClientResult>

The client result normalized for Cephalon sender reporting.