public DefaultMailKitSmtpBuilder(ISmtpEmailSenderConfiguration smtpEmailSenderConfiguration, IMailKitConfiguration zzhMailKitConfiguration) { _smtpEmailSenderConfiguration = smtpEmailSenderConfiguration; _zzhMailKitConfiguration = zzhMailKitConfiguration; }
/// <summary> /// Create an instance of this class. /// </summary> /// <param name="config">MailKit specific application settings.</param> /// <param name="mapper">Object to object mapper.</param> public EmailService(IMailKitConfiguration config, IMapper mapper) { _config = config; _mapper = mapper; }