Ejemplo n.º 1
0
 public SendMail(SendMailSmtpConfiguration smtpConfig, EventBroker eventBroker)
 {
     SmtpConfig = smtpConfig;
     eventBroker.Subscribe <SendMailMessageEventArgs>(OnSendMailMessage);
 }
Ejemplo n.º 2
0
 public SendMail(SendMailSmtpConfiguration smtpConfig)
 {
     SmtpConfig = smtpConfig;
 }