1. Stylelabs.M.Sdk.Contracts.Notifications

Interface IMailRequest

Interface for e-mail notification requests.

Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ContractsNotifications

Assembly: Stylelabs.M.Sdk.dll

Syntax

public interface IMailRequest

Properties

MailTemplateName

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

Declaration

string MailTemplateName { get; set; }

Property Value

TypeDescription
string

Variables

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

Declaration

JObject Variables { get; set; }

Property Value

TypeDescription
JObject

Methods

Validate()

Validates the mail request.

Declaration

void Validate()

Exceptions

TypeCondition
ValidationExceptionWhen the request has invalid properties.
If you have suggestions for improving this article, let us know!