Table of Contents

Class AdminIdentityEmailOptions

Namespace
Kentico.Membership
Assembly
Kentico.Membership.dll

Options for identity emails.

public sealed class AdminIdentityEmailOptions
Inheritance
object
AdminIdentityEmailOptions
Extension Methods

Constructors

AdminIdentityEmailOptions()

Initializes a new instance of AdminIdentityEmailOptions.

public AdminIdentityEmailOptions()

Properties

LinkExpiration

Gets or sets period for which the sent link is valid.

public TimeSpan LinkExpiration { get; set; }

Property Value

TimeSpan

Remarks

Applies to registration link and password reset scenarios. Default value is 1 day.

RegistrationEmailMessageProvider

Gets or sets function returning email message which is sent to newly registered user.

[Obsolete("The property is no longer used by the system. Instead, use the Notifications application in the admin UI to customize system emails.")]
[ObsoleteSince(29, 7)]
public IdentityEmailMessageProviderDelegate RegistrationEmailMessageProvider { get; set; }

Property Value

IdentityEmailMessageProviderDelegate

ResetMultifactorSecretKeyEmailMessageProvider

Gets or sets function returning email message which is sent to user who asked for reset of multifactor secret key link.

[Obsolete("The property is no longer used by the system. Instead, use the Notifications application in the admin UI to customize system emails.")]
[ObsoleteSince(29, 7)]
public IdentityEmailMessageProviderDelegate ResetMultifactorSecretKeyEmailMessageProvider { get; set; }

Property Value

IdentityEmailMessageProviderDelegate

ResetPasswordEmailMessageProvider

Gets or sets function returning email message which is sent to user who asked for reset password link.

[Obsolete("The property is no longer used by the system. Instead, use the Notifications application in the admin UI to customize system emails.")]
[ObsoleteSince(29, 7)]
public IdentityEmailMessageProviderDelegate ResetPasswordEmailMessageProvider { get; set; }

Property Value

IdentityEmailMessageProviderDelegate

SenderAddress

Gets or sets the sender address from which user management emails are sent. If just the local-part of the address is specified, the SendingDomain is used for the domain part. The default value is 'no-reply'.

[Obsolete("The property is no longer used by the system. Instead, use the Notifications application in the admin UI to customize system emails.")]
[ObsoleteSince(29, 7)]
public string SenderAddress { get; set; }

Property Value

string
See Also