public MailService( IEmailService emailService, IMailBuilder mailBuilder) { _emailService = emailService; _mailBuilder = mailBuilder; }
public MailCommand(ISmtpMessageChannel channel, IMailBuilder builder, AgentSettings settings, IUserStore userStore) { _builder = builder; _channel = channel; _settings = settings; _userStore = userStore; }
public FixtureMailService(IMailService mailService, IMailBuilder mailBuilder) { Guard.WhenArgument(mailService, "mailService").IsNull().Throw(); Guard.WhenArgument(mailBuilder, "mailBuilder").IsNull().Throw(); this.mailService = mailService; this.mailBuilder = mailBuilder; }
public AuthenticateCommand( IIndex <string, IAuthenticationSession> authentication, ISmtpMessageChannel channel, IMailBuilder builder) { _authentication = authentication; _channel = channel; _builder = builder; }
public BinaryDataCommand( SecurableConnection connection, SmtpSession session, IMailQueue mailQueue, IMailBuilder builder) { _connection = connection; _session = session; _mailQueue = mailQueue; _builder = builder; }
public DataCommand( IMailQueue mailQueue, AgentSettings settings, IVariableStreamReader reader, ConnectionInformation connectionInformation, IMailBuilder builder, ISmtpMessageChannel channel ) { _mailQueue = mailQueue; _settings = settings; _reader = reader; _connectionInformation = connectionInformation; _builder = builder; _channel = channel; }
public MessageTemplate(IMailBuilder builder) { _builder = builder; }
public MailBuilderDirector(IMailBuilder mailBuilder) { _mailBuilder = mailBuilder; }
public PromocodeAddedCompanyMailIntegrationEventHandler(IMailClient mailClient, IMailBuilder mailBuilder, ILogger <PromocodeAddedCompanyMailIntegrationEventHandler> logger) { _mailClient = mailClient ?? throw new System.ArgumentNullException(nameof(mailClient)); _mailBuilder = mailBuilder; _logger = logger ?? throw new System.ArgumentNullException(nameof(logger)); }
public TaskDeadlineTemplate(IMailBuilder builder) : base(builder) { }
public RecipientCommand(IMailBuilder builder, ISmtpMessageChannel channel, AgentSettings settings) { _builder = builder; _channel = channel; _settings = settings; }
public ResetCommand(ISmtpMessageChannel channel, IMailBuilder builder) { _channel = channel; _builder = builder; }
public RegistrationTemplate(IMailBuilder builder) : base(builder) { }
public MailController(IMailBuilder mailBuilder, IWebHostEnvironment env) { _mailBuilder = mailBuilder; _env = env; }
public TaskStartTemplate(IMailBuilder builder) : base(builder) { }
public MessageFactory(IMailBuilder builder) { _builder = builder; InitializeData(); }
public static MimeEntity GetMessageBody(this IMailBuilder body, MailBodyOption mailBodyOption, LanguageOption languageOption, object content) => new BodyBuilder() { HtmlBody = body.GetBody(mailBodyOption, languageOption, content) }.ToMessageBody();