Table of Contents

Class EcommerceEmailNotificationScheduledTaskAddInBase

Namespace
Dynamicweb.Ecommerce.ScheduledTaskAddIns
Assembly
Dynamicweb.Ecommerce.dll

Abstract base class for Ecommerce email notification scheduled task addins. Provides the shared Domain parameter and site-base resolution logic used when building absolute URLs in outgoing emails.

public abstract class EcommerceEmailNotificationScheduledTaskAddInBase : BaseScheduledTaskAddIn, IParameterOptions
Inheritance
EcommerceEmailNotificationScheduledTaskAddInBase
Implements
Derived
Inherited Members

Properties

Domain

[AddInParameterGroup("Email")]
[AddInParameter("Domain")]
[AddInLabel("Domain")]
[AddInParameterEditor(typeof(DropDownParameterEditor), "none=false;inputClass=inputControl;Tooltip=Select the domain used to build absolute URLs in the email (e.g. for images and links). Defaults to automatic detection from the incoming request.")]
public string? Domain { get; set; }

Property Value

string

Methods

GetParameterOptions(string)

public virtual IEnumerable<ParameterOption> GetParameterOptions(string parameterName)

Parameters

parameterName string

Returns

IEnumerable<ParameterOption>

GetSiteBase()

Returns the base URI used to construct absolute URLs in emails. Uses Domain if configured; falls back to the authority of HostUrl.

protected Uri? GetSiteBase()

Returns

Uri
To top