SmtpEmailServiceCollectionExtensions
Namespace: Proffer.Email
Microsoft.Extensions.DependencyInjection.IServiceCollection extension methods.
public static class SmtpEmailServiceCollectionExtensions
Inheritance Object → SmtpEmailServiceCollectionExtensions
Methods
AddSmtpEmail(IServiceCollection)
Registers the Proffer.Email services to a SMTP server with N:MailKit.
public static IServiceCollection AddSmtpEmail(IServiceCollection services)
Parameters
services
IServiceCollection
The service collection.
Returns
IServiceCollection
The service collection.