private static SmtpImplementationFactory CreateDefault() { var factory = new SmtpImplementationFactory(); factory.ImportDefault(); return(factory); }
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; }