Beispiel #1
0
 /// <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;
 }
Beispiel #2
0
 /// <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;
 }