Microsoft's cross-platform web framework — Identity's pluggable IEmailSender.
ASP.NET Core is Microsoft's cross-platform web framework, tied for the largest professional-developer framework audience (2025 SO survey, 21.3%). Its Identity system defines a pluggable IEmailSender (and, since .NET 8, the generic IEmailSender<TUser>) specifically so account-confirmation and password-reset mail can be swapped in with one interface implementation.
dotnet add package MailKite.AspNetCore, then AddMailKiteEmailSender() — every Identity confirmation/reset email routes through MailKite. See /docs/integrations/aspnet-core.
Read the full setup guideA minimal, copy-paste starter. Swap in your own domain and API key.
# Any app that accepts an SMTP server works with MailKite
MAIL_HOST=smtp.mailkite.dev
MAIL_PORT=587 # STARTTLS (or 465 for TLS)
MAIL_ENCRYPTION=tls
MAIL_USERNAME=mailkite # username is ignored
MAIL_PASSWORD=mk_live_... # your MailKite API key
MAIL_FROM_ADDRESS=you@yourdomain.com # on a verified domain
MAIL_FROM_NAME=ASP.NET Core Point a domain, set one SMTP endpoint, send your first email in minutes. Unlimited domains, no credit card.