Class MailRequest

Current version: 3.4

Base class for mail requests.

Implements
Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ModelsNotifications
Assembly: Stylelabs.M.Sdk.dll
Syntax
RequestResponse
public abstract class MailRequest : IMailRequest

Properties

MailTemplateName

Gets or sets the name of the mail template to be used.

Declaration
RequestResponse
public string MailTemplateName { get; set; }
Property Value
TypeDescription
string

Variables

Gets or sets the variables to be applied on the mail template.

Declaration
RequestResponse
public JObject Variables { get; set; }
Property Value
TypeDescription
JObject

Methods

Validate()

Validates the mail request.

Declaration
RequestResponse
public abstract void Validate()
Exceptions
TypeCondition
ValidationException

When the request has invalid properties.

Implements

Do you have some feedback for us?

If you have suggestions for improving this article,