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
From
public required string From { get; init; }
Property Value
FromName
public string FromName { get; init; }
Property Value
HasAttachments
public bool HasAttachments { get; init; }
Property Value
InReplyTo
public string InReplyTo { get; init; }
Property Value
IsAutomated
True for an auto-reply, a list mail or a bounce.
public bool IsAutomated { get; init; }
Property Value
MessageId
public required string MessageId { get; init; }
Property Value
References
public string[] References { get; init; }
Property Value
- string[]
SentAt
public DateTime? SentAt { get; init; }
Property Value
Subject
public string Subject { get; init; }
Property Value
To
public string[] To { get; init; }
Property Value
- string[]