public ProjectEmailService( ViewRenderer viewRenderer, IEmailSenderResolver emailSenderResolver, ILogger <ProjectEmailService> logger) { _viewRenderer = viewRenderer; _emailSenderResolver = emailSenderResolver; _log = logger; }
public CoreProjectEmailService( ViewRenderer viewRenderer, ISiteContextResolver siteResolver, IEmailSenderResolver emailSenderResolver, ILogger <CoreProjectEmailService> logger ) { _viewRenderer = viewRenderer; _emailSenderResolver = emailSenderResolver; _siteResolver = siteResolver; _log = logger; }
//TODO: we should have an option to force only plain text email // html emails are a lot more likely to be phished with copies // because the link urls are obfuscated to some degree public SiteEmailMessageSender( ViewRenderer viewRenderer, IEmailSenderResolver emailSenderResolver, IStringLocalizer <CloudscribeCore> localizer, ILogger <SiteEmailMessageSender> logger ) { _log = logger; _sr = localizer; _viewRenderer = viewRenderer; _emailSenderResolver = emailSenderResolver; }
public HomeController( SiteContext currentSite, IEmailSenderResolver emailSenderResolver, ViewRenderer viewRenderer, GoogleAnalyticsHelper analyticsHelper ) { _currentSite = currentSite; _emailSenderResolver = emailSenderResolver; _viewRenderer = viewRenderer; _analyticsHelper = analyticsHelper; }
public ContactFormService( IEnumerable <IProcessContactForm> messageProcessors, IContactFormResolver contactFormResolver, IRecaptchaKeysProvider recaptchaKeysProvider, ILogger <ContactFormService> logger, IEmailSenderResolver emailSenderResolver ) { _contactFormResolver = contactFormResolver; _recaptchaKeys = recaptchaKeysProvider; _messageProcessors = messageProcessors; _log = logger; _emailSenderResolver = emailSenderResolver; }
public ContactFormProcessor( ViewRenderer viewRenderer, ITenantResolver tenantResolver, IEmailSenderResolver emailSenderResolver, IContactFormResolver contactFormResolver, IOptions <ContactFormMessageOptions> messageProcessorOptionsAccessor, ILogger <ContactFormProcessor> logger ) { _viewRenderer = viewRenderer; _tenantResolver = tenantResolver; _emailSenderResolver = emailSenderResolver; _contactFormResolver = contactFormResolver; _messageProcessorOptions = messageProcessorOptionsAccessor.Value; _log = logger; }
public HomeController( IOidcHybridFlowHelper oidcHybridFlowHelper, IHttpClientFactory httpClientFactory, IdentityServer4.IdentityServerTools idserver, SiteContext currentSite, IEmailSenderResolver emailSenderResolver, ViewRenderer viewRenderer, GoogleAnalyticsHelper analyticsHelper ) { _oidcHybridFlowHelper = oidcHybridFlowHelper; _currentSite = currentSite; _emailSenderResolver = emailSenderResolver; _viewRenderer = viewRenderer; _analyticsHelper = analyticsHelper; _httpClientFactory = httpClientFactory; _idserver = idserver; }
public SiteAcountCapabilitiesProvider( IEmailSenderResolver emailSenderResolver ) { _emailSenderResolver = emailSenderResolver; }