1. MailRequest

Class MailRequest

Base class for mail requests.

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

Properties

MailTemplateName

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

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

Variables

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

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

Methods

Validate()

Validates the mail request.

Declaration
public abstract void Validate()
Exceptions
TypeCondition
ValidationException

When the request has invalid properties.

Implements

If you have suggestions for improving this article, let us know!