Table of Contents

Class ContactMessage

Namespace
Tharga.Team
Assembly
Tharga.Team.dll

A message to write to contacts, as handed to SendAsync(ContactMessage, CancellationToken).

public sealed record ContactMessage : IEquatable<ContactMessage>
Inheritance
ContactMessage
Implements
Inherited Members

Properties

Addressees

Who it goes to, as the host listed them; each address is mailed once.

public required ContactAddressee[] Addressees { get; init; }

Property Value

ContactAddressee[]

Attachments

Files sent with the message, stored once however many it reaches.

public UserMailAttachment[] Attachments { get; init; }

Property Value

UserMailAttachment[]

Body

The body as plain text; required when there is no HTML body.

public string Body { get; init; }

Property Value

string

BodyHtml

The body as HTML; sanitized on the server, and the text body is derived from it when none is given.

public string BodyHtml { get; init; }

Property Value

string

Category

The key of a contact category; any other is refused.

public required string Category { get; init; }

Property Value

string

Subject

The subject line.

public required string Subject { get; init; }

Property Value

string