public SmtpMailFromResponder(IConfiguredSmtpRestrictions configuration, IEmailValidator emailValidator) { if (configuration == null) throw new ArgumentNullException(nameof(configuration)); if (emailValidator == null) throw new ArgumentNullException(nameof(emailValidator)); Configuration = configuration; _emailValidator = emailValidator; }
public SmtpIdentificationResponder(IConfiguredSmtpRestrictions configuration, IGetSmtpCapabilities getSmtpCapabilities) { if (configuration == null) throw new ArgumentNullException(nameof(configuration)); if (getSmtpCapabilities == null) throw new ArgumentNullException(nameof(getSmtpCapabilities)); Configuration = configuration; _getSmtpCapabilities = getSmtpCapabilities; }
public GetDefaultSmtpCapabilities(IConfiguredSmtpRestrictions configuration) { if (configuration == null) { throw new ArgumentNullException("configuration"); } _configuration = configuration; }
public SmtpIdentificationResponder(IConfiguredSmtpRestrictions configuration, IGetSmtpCapabilities getSmtpCapabilities) { if (configuration == null) { throw new ArgumentNullException("configuration"); } if (getSmtpCapabilities == null) { throw new ArgumentNullException("getSmtpCapabilities"); } Configuration = configuration; _getSmtpCapabilities = getSmtpCapabilities; }
public SmtpMailFromResponder(IConfiguredSmtpRestrictions configuration, IEmailValidator emailValidator) { if (configuration == null) { throw new ArgumentNullException("configuration"); } if (emailValidator == null) { throw new ArgumentNullException("emailValidator"); } Configuration = configuration; _emailValidator = emailValidator; }
public SmtpResponderFactory(IConfiguredSmtpRestrictions configuration, IEmailValidator emailValidator = null, IGetSmtpCapabilities getSmtpCapabilities = null) { if (configuration == null) throw new ArgumentNullException("configuration"); emailValidator = emailValidator ?? new XamarinEmailValidator(); getSmtpCapabilities = getSmtpCapabilities ?? new GetDefaultSmtpCapabilities(configuration); DataResponder = new SmtpDataResponder(configuration); IdentificationResponder = new SmtpIdentificationResponder(configuration, getSmtpCapabilities); MailFromResponder = new SmtpMailFromResponder(configuration, emailValidator); RecipientToResponder = new SmtpRecipientToResponder(configuration, emailValidator); RawLineResponder = new SmtpRawLineResponder(configuration); ResetResponder = new SmtpResetResponder(configuration); VerifyResponder = new SmtpVerifyResponder(configuration); }
public SmtpResponderFactory(IConfiguredSmtpRestrictions configuration, IEmailValidator emailValidator = null, IGetSmtpCapabilities getSmtpCapabilities = null) { if (configuration == null) { throw new ArgumentNullException("configuration"); } emailValidator = emailValidator ?? new XamarinEmailValidator(); getSmtpCapabilities = getSmtpCapabilities ?? new GetDefaultSmtpCapabilities(configuration); DataResponder = new SmtpDataResponder(configuration); IdentificationResponder = new SmtpIdentificationResponder(configuration, getSmtpCapabilities); MailFromResponder = new SmtpMailFromResponder(configuration, emailValidator); RecipientToResponder = new SmtpRecipientToResponder(configuration, emailValidator); RawLineResponder = new SmtpRawLineResponder(configuration); ResetResponder = new SmtpResetResponder(configuration); VerifyResponder = new SmtpVerifyResponder(configuration); }
public SmtpDataResponder(IConfiguredSmtpRestrictions configuration) { Configuration = configuration; }
public SmtpResetResponder(IConfiguredSmtpRestrictions configuration) { Configuration = configuration; }
public SmtpRawLineResponder(IConfiguredSmtpRestrictions configuration) { Configuration = configuration; }
public GetDefaultSmtpCapabilities(IConfiguredSmtpRestrictions configuration) { if (configuration == null) throw new ArgumentNullException(nameof(configuration)); _configuration = configuration; }
public SmtpVerifyResponder(IConfiguredSmtpRestrictions configuration) { Configuration = configuration; }
public SmtpRecipientToResponder(IConfiguredSmtpRestrictions configuration, IEmailValidator emailValidator) { Configuration = configuration; _emailValidator = emailValidator; }