Example #1
0
 public MessageService(ISmtpClientService smtpClientService, IOptions <EmailNoticeOptions> EmailNoticeOptions, IOptions <BaseDomainOptions> domainOption)
 {
     _smtpClientService = smtpClientService;
     emailNoticeOptions = EmailNoticeOptions;
     this.domainOption  = domainOption;
 }
Example #2
0
 public TestController(ISmtpClientService smtpClientService)
 {
     this.smtpClientService = smtpClientService;
 }
 public EmailSender(ISmtpClientService client)
 {
     _client = client;
 }