Table of Contents

Class SystemMailRequest

Namespace
BiExcellence.OpenBi.Api.SystemInfo
Assembly
BiExcellence.OpenBi.Api.Client.dll

A request to send an e-mail via the server's configured SMTP settings.

public sealed record SystemMailRequest : ISystemMailRequest
Inheritance
object
SystemMailRequest
Implements

Properties

Bcc

The blind-carbon-copy addresses. Empty entries are skipped.

[JsonPropertyName("bcc")]
public string[]? Bcc { get; init; }

Property Value

string[]

Body

The message body, as HTML or plain text depending on IsBodyHtml.

[JsonPropertyName("body")]
public string? Body { get; init; }

Property Value

string

Cc

The carbon-copy addresses. Empty entries are skipped.

[JsonPropertyName("cc")]
public string[]? Cc { get; init; }

Property Value

string[]

From

The sender address. When empty, the sender from the server's SMTP configuration is used.

[JsonPropertyName("from")]
public string? From { get; init; }

Property Value

string

IsBodyHtml

Whether Body is HTML. Defaults to true.

[JsonPropertyName("isBodyHtml")]
public bool IsBodyHtml { get; init; }

Property Value

bool

Subject

The subject line.

[JsonPropertyName("subject")]
public string? Subject { get; init; }

Property Value

string

To

The recipient addresses. Empty entries are skipped.

[JsonPropertyName("to")]
public string[]? To { get; init; }

Property Value

string[]