public OutlookEmailSendAsync(EmailOutlookProperties properties) { EmailProperties.GetInstance.ExchangeConnectionTimeout = properties.ExchangeConnectionTimeOut; EmailProperties.GetInstance.ExchangeMailServerAddress = properties.ExchangeMailServerAddress; EmailProperties.GetInstance.ExchangeMailServerPassword = properties.ExchangeMailServerPassword; EmailProperties.GetInstance.ExchangeMailServerUsername = properties.ExchangeMailServerUsername; EmailProperties.GetInstance.ExchangeUriService = properties.ExchangeUriService; }
public EmailWrapper(EmailOutlookProperties properties) { emailSend = new OutlookEmailSend(properties); }