Interface IMailMessage
interface for a single email message.
Namespace: SociallyDistant.Core.Social
Assembly: SociallyDistant.Framework.dll
Syntax
public interface IMailMessage
Properties
Body
Gets the body of the email as a collection of DocumentElement values.
Declaration
IEnumerable<DocumentElement> Body { get; }
Property Value
Type | Description |
---|---|
IEnumerable<DocumentElement> |
From
Gets the user that sent the message.
Declaration
IProfile From { get; }
Property Value
Type | Description |
---|---|
IProfile |
MessageType
Gets a MailTypeFlags value indicating how the message should be displayed in the UI.
Declaration
MailTypeFlags MessageType { get; }
Property Value
Type | Description |
---|---|
MailTypeFlags |
NarrativeId
Gets the Narrative Identifier of the message, if any.
Declaration
string? NarrativeId { get; }
Property Value
Type | Description |
---|---|
string |
Subject
Gets the subject line of the message.
Declaration
string Subject { get; }
Property Value
Type | Description |
---|---|
string |
Thread
Gets the thread to which the message belongs.
Declaration
IMailThread? Thread { get; }
Property Value
Type | Description |
---|---|
IMailThread |
To
Gets the user that received the mesage.
Declaration
IProfile To { get; }
Property Value
Type | Description |
---|---|
IProfile |