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 IMailgunInvitationDeliveryClientRemarks
Section titled “Remarks”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.
Methods
Section titled “Methods”SendAsync(MailgunInvitationDeliveryMessage, CancellationToken)
Section titled “ SendAsync(MailgunInvitationDeliveryMessage, CancellationToken)”Sends one Mailgun invitation delivery message.
ValueTask<MailgunInvitationDeliveryClientResult> SendAsync(MailgunInvitationDeliveryMessage message, CancellationToken cancellationToken = default)Parameters
Section titled “Parameters”message MailgunInvitationDeliveryMessage
The message prepared by the Mailgun invitation delivery sender.
cancellationToken CancellationToken
A token that cancels the send operation.
Returns
Section titled “Returns”ValueTask<MailgunInvitationDeliveryClientResult>
The client result normalized for Cephalon sender reporting.