Class MailgunClient

MailgunClient class

Represents the Mailgun client

public class MailgunClient : IDeliveryServiceClient

Constructors

NameDescription
MailgunClient(string, string, MailgunRegion)Initializes a new instance of the MailgunClient class

Methods

NameDescription
virtual Dispose()Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Send(MailMessage, List<string>, CancellationToken?)Sends email synchronously
SendAsync(MailMessage, List<string>, CancellationToken?)Sends email asynchronously

See Also