Registers email messaging services via SMTP. Configuration options are loaded from app settings, and may be overruled by passing an options delegate.

public static IRedaktBuilder AddSmtpEmailMessaging(IRedaktBuilder builder, Action<SmtpOptions> options)
Returns:
IRedaktBuilder

Parameters

options Action<SmtpOptions>

A delegate to set SMTP configuration options. This will overrule configuration options loaded from app settings.

In this article