Table of Contents

Class EmailQueueList

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

Emails listing page

public sealed class EmailQueueList : ListingPage, IPage
Inheritance
object
EmailQueueList
Implements
Inherited Members
Extension Methods

Constructors

EmailQueueList(IEmailService, IServiceProvider)

Initialize instance.

public EmailQueueList(IEmailService emailService, IServiceProvider serviceProvider)

Parameters

emailService IEmailService
serviceProvider IServiceProvider

Properties

ObjectType

Type of the info objects that are listed. Corresponds to the OBJECT_TYPE property of the info object or PredefinedObjectType.

protected override string ObjectType { get; }

Property Value

string

Methods

ConfigurePage()

Allows configure and share page specific values prior invocation of the ConfigureTemplateProperties(TClientProperties) or command method.

public override Task ConfigurePage()

Returns

Task

ConfigureTemplateProperties(ListingTemplateClientProperties)

Gets the object representing client side template properties.

public override Task<ListingTemplateClientProperties> ConfigureTemplateProperties(ListingTemplateClientProperties properties)

Parameters

properties ListingTemplateClientProperties

Initialized properties object.

Returns

Task<ListingTemplateClientProperties>

Delete(int)

Deletes listing item specified by the id parameter.

public override Task<ICommandResponse<RowActionResult>> Delete(int id)

Parameters

id int

Returns

Task<ICommandResponse<RowActionResult>>

Resend(int, CancellationToken)

Queues email with the specified ID to be resent.

public Task<ICommandResponse<RowActionResult>> Resend(int id, CancellationToken cancellationToken = default)

Parameters

id int
cancellationToken CancellationToken

Returns

Task<ICommandResponse<RowActionResult>>