Class SendGridClient

SendGridClient class

Represents the SendGrid client

public class SendGridClient : IDeliveryServiceClient

Constructors

NameDescription
SendGridClient(string, bool)Initializes a new instance of the SendGridClient 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