using Correo.Abstractions; using Correo.MailKit.Models; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; namespace Correo.MailKit { public static class DependencyInjectionExtensions { public static void AddMailKitSmtpClient(this IServiceCollection services, IConfiguration configuration) { services.Configure(configuration); services.AddTransient(); } } }