Class MailRequest
Base class for mail requests.
Implements
Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ModelsNotifications
Assembly: Stylelabs.M.Sdk.dll
Syntax
RequestResponse
public abstract class MailRequest : IMailRequestProperties
MailTemplateName
Gets or sets the name of the mail template to be used.
Declaration
RequestResponse
public string MailTemplateName { get; set; }Property Value
| Type | Description |
|---|---|
| string |
Variables
Gets or sets the variables to be applied on the mail template.
Declaration
RequestResponse
public JObject Variables { get; set; }Property Value
| Type | Description |
|---|---|
| JObject |
Methods
Validate()
Validates the mail request.
Declaration
RequestResponse
public abstract void Validate()Exceptions
| Type | Condition |
|---|---|
| ValidationException |
When the request has invalid properties. |