Class EmailAlertChannel

Assembly: redb.Tsak.Core.dll

Email delivery over SMTP using the BCL — no extra package. Adequate
for fire-and-forget operational alerts; each send opens and closes its own connection.

public sealed class EmailAlertChannel : IAlertChannel

Inheritance

Object→EmailAlertChannel

Implements

Properties

IsEnabled

Whether this channel is turned on and fully configured.

public bool IsEnabled { get; }

Name

Short stable name, used in logs and the per-channel test result.

public string Name { get; }

Methods

SendAsync(AlertNotification, CancellationToken)

Delivers one alert. Implementations must throw on failure (the dispatcher isolates and

public Task SendAsync(AlertNotification alert, CancellationToken ct)

Constructors