public Worker(ILogger <Worker> logger, IHostApplicationLifetime appLifetime, IOptions <WorkerConfiguration> workerOptions, IOptions <EmailConfiguraton> emailOptions, IOptions <BehaviourConfiguration> behaviourOptoins) { this.logger = logger; this.workerOptions = workerOptions.Value; this.emailOptions = emailOptions.Value; WirellesUnitFactory.Behaviour = behaviourOptoins.Value; this.appLifetime = appLifetime; }
public EmailService(EmailConfiguraton conf, MailPriority Priority, bool IsHTLMmsg = false) { config = conf; isHTML = IsHTLMmsg; priority = Priority; }