Class MailForward
- Namespace
- KASserver
- Assembly
- KASserver.Client.dll
A mail forward as returned by get_mailforwards. Typed convenience properties cover the
most common fields; Raw exposes the complete map for everything else.
public sealed class MailForward
- Inheritance
-
MailForward
- Inherited Members
Properties
Address
The forwarding address. KAS returns this under both mail_forward_address and the
misspelled mail_forward_adress; the correctly spelled key is preferred.
public string? Address { get; }
Property Value
Comment
The forward's comment (KAS field mail_forward_comment).
public string? Comment { get; }
Property Value
Raw
The complete raw field map as returned by the KAS API.
public required IReadOnlyDictionary<string, object?> Raw { get; init; }
Property Value
RawTargets
The raw, comma-separated target specification (KAS field mail_forward_targets).
public string? RawTargets { get; }
Property Value
SpamFilter
The configured spam filter (KAS field mail_forward_spamfilter).
public string? SpamFilter { get; }
Property Value
TargetAddresses
The target addresses parsed from RawTargets (split on comma or semicolon). Empty when no raw targets are present. Mirrors Targets.
public IReadOnlyList<string> TargetAddresses { get; }