Interface IDeliveryServiceClient

IDeliveryServiceClient interface

Represents contract for DeliveryServiceClient

public interface IDeliveryServiceClient : IDisposable

Properties

NameDescription
EndPoint { get; set; }Gets or sets DeliveryService endpoint. If not specified, the default is https://api.mailgun.net for MailGunClient and https://api.sendgrid.com for SendGridClient.

Methods

NameDescription
Send(MailMessage, List<string>, CancellationToken?)Sends email synchronously
SendAsync(MailMessage, List<string>, CancellationToken?)Sends email asynchronously

See Also