1. Stylelabs.M.Sdk.Models.Notifications

Class MailRequest

Base class for mail requests.

Inheritance

object

MailRequest

MailRequestBroadcast

MailRequestById

MailRequestByUsername

Implements

IMailRequest

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
ValidationExceptionWhen the request has invalid properties.

Implements

IMailRequest

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