Table of Contents

Class UserMailCategories

Namespace
Tharga.Team
Assembly
Tharga.Team.dll

The two built-in categories every host has, so mail the toolkit itself sends always has a category to go in.

public static class UserMailCategories
Inheritance
UserMailCategories
Inherited Members

Remarks

Their keys are reserved: a host registers its own categories beside them and cannot redefine them. Account can never be turned off, so no choice is ever stored for it and its mail carries no unsubscribe link. Service messages are required too, unless the host sets UserMailOptions.ServiceRequired to false: then each user may turn them off, on until they do, and their mail carries an unsubscribe link like any optional category's.

Fields

AccountKey

The key of Account.

public const string AccountKey = "account"

Field Value

string

ServiceKey

The key of Service.

public const string ServiceKey = "service"

Field Value

string

Properties

Account

Mail about the user's own account, access and its security.

public static UserMailCategory Account { get; }

Property Value

UserMailCategory

BuiltIn

The built-in categories, in the order they are listed before a host's own.

public static IReadOnlyList<UserMailCategory> BuiltIn { get; }

Property Value

IReadOnlyList<UserMailCategory>

Service

Mail every user needs about the service, such as planned maintenance or changed terms.

public static UserMailCategory Service { get; }

Property Value

UserMailCategory