Table of Contents

Class EmailModel

Namespace
Kentico.Xperience.Admin.Base
Assembly
Kentico.Xperience.Admin.Base.dll

Class represents configuration of EmailMessage.

public class EmailModel
Inheritance
object
EmailModel
Extension Methods

Constructors

EmailModel()

public EmailModel()

Properties

Body

Content of the email.

[RequiredValidationRule]
[TextAreaComponent(Label = "{$base.emailqueue.emailBody$}", Order = 4)]
public string Body { get; set; }

Property Value

string

From

Sender of the email.

[RequiredValidationRule]
[EmailValidationRule(AllowMultipleAddresses = false)]
[TextInputComponent(Label = "{$base.emailqueue.emailFrom$}", Order = 1)]
public string From { get; set; }

Property Value

string

Recipients

Recipients of the email.

[RequiredValidationRule]
[EmailValidationRule(AllowMultipleAddresses = true)]
[TextInputComponent(Label = "{$base.emailqueue.emailTo$}", Order = 2)]
public string Recipients { get; set; }

Property Value

string

Subject

Subject of the email.

[RequiredValidationRule]
[TextInputComponent(Label = "{$base.emailqueue.subject$}", Order = 3)]
public string Subject { get; set; }

Property Value

string