/// <summary> /// Instantiate the <see cref="EmailSmtpProvider"/> /// </summary> /// <param name="smtpOptions">The SMTP options</param> /// <param name="loggerFactory">The logger factory</param> public EmailSmtpProvider(IOptions <SmtpOptions> smtpOptions, ILoggerFactory loggerFactory) : base(smtpOptions.Value, loggerFactory) { _smtpOptions = smtpOptions.Value; }
/// <summary> /// Instantiate the <see cref="EmailSmtpProvider"/> /// </summary> /// <param name="smtpOptions">The SMTP options</param> /// <param name="loggerFactory">The logger factory</param> public EmailSmtpProvider(SmtpOptions smtpOptions, ILoggerFactory loggerFactory) : base(smtpOptions, loggerFactory) { _smtpOptions = smtpOptions; }