PhoenixKit.Modules.Emails.Provider (phoenix_kit_emails v0.1.17)

Copy Markdown View Source

Unified email provider for PhoenixKit.

Implements the PhoenixKit.Email.Provider behaviour, which core's PhoenixKit.Mailer calls through Provider.current(). The @behaviour declaration is load-bearing: without it the compiler cannot verify that this module actually satisfies the contract, so a callback added (or changed) in core would compile clean here and only blow up at runtime, in the send path.