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
Attachments
Files sent with the message, stored once however many it reaches.
public UserMailAttachment[] Attachments { get; init; }
Property Value
Body
The body as plain text; required when there is no HTML body.
public string Body { get; init; }
Property Value
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
Category
The key of a contact category; any other is refused.
public required string Category { get; init; }
Property Value
Subject
The subject line.
public required string Subject { get; init; }