Namespace MailForge
Classes
- EmailSender
The default IEmailSender implementation. It renders typed emails, applies automatic plain-text generation, validates the message, and runs it through the configured middleware pipeline and provider.
- FailoverEmailProvider
An IEmailProvider that tries a precedence-ordered chain of providers until one succeeds. Each provider is governed by a ProviderFailoverRoute that defines its failover FailoverPolicy and attempt budget. When every route is exhausted an aggregate EmailException is thrown whose IsTransient reflects whether any failure was retryable.
- FailoverPolicy
Controls when a FailoverEmailProvider stops trying the current provider and fails over to the next route in the chain.
- ProviderFailoverRoute
Configures one provider in a FailoverEmailProvider precedence chain: how many attempts the provider gets and under which FailoverPolicy it fails over.