Table of Contents

Class SentEmail

Namespace
GastroSky.Models
Assembly
GastroSky.Models.dll

Email that was sent out by the GastroSky backend.

[Table("SentEmails")]
public class SentEmail
Inheritance
SentEmail
Inherited Members

Properties

BCC

Blind-carbon-copy address.

[Column("BCC")]
public string? BCC { get; set; }

Property Value

string

CC

Carbon-copy address.

[Column("CC")]
public string? CC { get; set; }

Property Value

string

From

Sender email address.

public required string From { get; set; }

Property Value

string

Html

Email main body (as HTML).

public string? Html { get; set; }

Property Value

string

Id

Meaningless sequential integer that serves purely as a DB primary key.

[Key]
public long Id { get; set; }

Property Value

long

ReplyTo

Reply-to address.

public string? ReplyTo { get; set; }

Property Value

string

Subject

Email subject.

public required string Subject { get; set; }

Property Value

string

Text

Email main body (as plaintext).

public string? Text { get; set; }

Property Value

string

TimestampUTC

Unix-timestamp of when the email was sent out by the GastroSky backend's email sender service.

public long TimestampUTC { get; set; }

Property Value

long

To

Recipient email address.

public required string To { get; set; }

Property Value

string

UsedSmtpCredentials

The used SmtpCredentials.

[ForeignKey("UsedSmtpCredentialsId")]
public SmtpCredentials? UsedSmtpCredentials { get; set; }

Property Value

SmtpCredentials

UsedSmtpCredentialsId

Id of the used SmtpCredentials.

public long? UsedSmtpCredentialsId { get; set; }

Property Value

long?