private static SmtpImplementationFactory CreateDefault()
        {
            var factory = new SmtpImplementationFactory();

            factory.ImportDefault();
            return(factory);
        }
Esempio n. 2
0
 public SmtpSession(
     SecurableConnection connection,
     SmtpImplementationFactory implementationFactory,
     SmtpSettings settings,
     string ipAddress,
     string connectedIpAddress,
     IMailStore mailStore,
     IUserStore userStore)
 {
     Connection            = connection;
     ImplementationFactory = implementationFactory;
     Settings           = settings;
     IpAddress          = ipAddress;
     ConnectedIpAddress = connectedIpAddress;
     MailStore          = mailStore;
     UserStore          = userStore;
 }