Table of Contents

Class MailEnvelope

Namespace
Tharga.Team
Assembly
Tharga.Team.dll

What a received mail says about itself, without its body or attachments.

public record MailEnvelope : IEquatable<MailEnvelope>
Inheritance
MailEnvelope
Implements
Inherited Members

Remarks

The body and attachments stay in the raw message, which the host keeps through IInboundMailContentStore and a caller reads through the mailbox service, where access is checked.

Properties

Cc

public string[] Cc { get; init; }

Property Value

string[]

DeliveredTo

The address the mail was actually delivered to, from the envelope headers, which routing used.

public required string DeliveredTo { get; init; }

Property Value

string

From

public required string From { get; init; }

Property Value

string

FromName

public string FromName { get; init; }

Property Value

string

HasAttachments

public bool HasAttachments { get; init; }

Property Value

bool

InReplyTo

public string InReplyTo { get; init; }

Property Value

string

IsAutomated

True for an auto-reply, a list mail or a bounce.

public bool IsAutomated { get; init; }

Property Value

bool

MessageId

public required string MessageId { get; init; }

Property Value

string

References

public string[] References { get; init; }

Property Value

string[]

SentAt

public DateTime? SentAt { get; init; }

Property Value

DateTime?

Subject

public string Subject { get; init; }

Property Value

string

To

public string[] To { get; init; }

Property Value

string[]