ail-factory">Custom Email Factory</h2>
<p>You can customize the content of the email by implementing IEmailFactory, for example:</p>
<pre><code class="lang-cs">public class MyEmailFactory : IEmailFactory
{
  // returns a MimeMessage that will be sendt by the IEmailSender.
  public MimeMessage CreateConfirmationEmail(EmailData data);

  // returns a MimeMessage that will be sent by the IEmailSender.
  public MimeMessage CreateResetPasswordEmail(EmailData data);
}
</code></pre>
<p>then register it via <code>A