Class Message
Represents an email msg that needs to be sent
Inheritance
System.Object
Message
Implements
System.Collections.Generic.IEnumerable<System.Object>
System.Collections.IEnumerable
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: NFX.Web.dll
Syntax
[Serializable]
public class Message : TypedRow, IConfigurable, IConfigurationPersistent, IEquatable<Row>, IEnumerable<object>, IEnumerable, IValidatable, IJSONWritable
Constructors
Message()
Declaration
Message(Nullable<Guid>, Nullable<DateTime>)
Declaration
public Message(Guid? id, DateTime? utcCreateDate = default (DateTime? ))
Parameters
Type |
Name |
Description |
System.Nullable<System.Guid> |
id |
|
System.Nullable<System.DateTime> |
utcCreateDate |
|
Properties
AddressBCC
Declaration
[Field("*", StoreFlag.LoadAndStore, false, DataKind.Text, false, true, null, null, null, null, 0, 0, CharCase.AsIs, "a_bcc", null, null, null, false, null, null, null, true)]
public string AddressBCC { get; set; }
Property Value
Type |
Description |
System.String |
|
AddressBCCBuilder
Declaration
public MessageAddressBuilder AddressBCCBuilder { get; }
Property Value
AddressCC
Declaration
[Field("*", StoreFlag.LoadAndStore, false, DataKind.Text, false, true, null, null, null, null, 0, 0, CharCase.AsIs, "a_cc", null, null, null, false, null, null, null, true)]
public string AddressCC { get; set; }
Property Value
Type |
Description |
System.String |
|
AddressCCBuilder
Declaration
public MessageAddressBuilder AddressCCBuilder { get; }
Property Value
AddressFrom
Declaration
[Field("*", StoreFlag.LoadAndStore, false, DataKind.Text, false, true, null, null, null, null, 0, 0, CharCase.AsIs, "a_frm", null, null, null, false, null, null, null, true)]
public string AddressFrom { get; set; }
Property Value
Type |
Description |
System.String |
|
AddressFromBuilder
Declaration
public MessageAddressBuilder AddressFromBuilder { get; }
Property Value
AddressReplyTo
Declaration
[Field("*", StoreFlag.LoadAndStore, false, DataKind.Text, false, true, null, null, null, null, 0, 0, CharCase.AsIs, "a_rto", null, null, null, false, null, null, null, true)]
public string AddressReplyTo { get; set; }
Property Value
Type |
Description |
System.String |
|
AddressReplyToBuilder
Declaration
public MessageAddressBuilder AddressReplyToBuilder { get; }
Property Value
AddressTo
Declaration
[Field("*", StoreFlag.LoadAndStore, false, DataKind.Text, false, true, null, null, null, null, 0, 0, CharCase.AsIs, "a_to", null, null, null, false, null, null, null, true)]
public string AddressTo { get; set; }
Property Value
Type |
Description |
System.String |
|
AddressToBuilder
Declaration
public MessageAddressBuilder AddressToBuilder { get; }
Property Value
Attachments
Collection of Attachments
Declaration
[Field("*", StoreFlag.LoadAndStore, false, DataKind.Text, false, true, null, null, null, null, 0, 0, CharCase.AsIs, "ats", null, null, null, false, null, null, null, true)]
public Message.Attachment[] Attachments { get; set; }
Property Value
Body
Declaration
[Field("*", StoreFlag.LoadAndStore, false, DataKind.Text, false, true, null, null, null, null, 0, 0, CharCase.AsIs, "plain", null, null, null, false, null, null, null, true)]
public string Body { get; set; }
Property Value
Type |
Description |
System.String |
|
CreateDateUTC
Declaration
[Field("*", StoreFlag.LoadAndStore, false, DataKind.Text, false, true, null, null, null, null, 0, 0, CharCase.AsIs, "cdt", null, null, null, false, null, null, null, true)]
public DateTime CreateDateUTC { get; set; }
Property Value
Type |
Description |
System.DateTime |
|
ID
Every message has an ID of type GUID generated upon the creation, it is used for unique identification
in small systems and message co-relation into conversation threads
Declaration
[Field("*", StoreFlag.LoadAndStore, false, DataKind.Text, false, true, null, null, null, null, 0, 0, CharCase.AsIs, "id", null, null, null, false, null, null, null, true)]
public Guid ID { get; }
Property Value
Type |
Description |
System.Guid |
|
Importance
Declaration
[Field("*", StoreFlag.LoadAndStore, false, DataKind.Text, false, true, null, null, null, null, 0, 0, CharCase.AsIs, "im", null, null, null, false, null, null, null, true)]
public MsgImportance Importance { get; set; }
Property Value
Priority
Declaration
[Field("*", StoreFlag.LoadAndStore, false, DataKind.Text, false, true, null, null, null, null, 0, 0, CharCase.AsIs, "pr", null, null, null, false, null, null, null, true)]
public MsgPriority Priority { get; set; }
Property Value
When set, identifies the message in a thread which this one relates to
Declaration
[Field("*", StoreFlag.LoadAndStore, false, DataKind.Text, false, true, null, null, null, null, 0, 0, CharCase.AsIs, "rel", null, null, null, false, null, null, null, true)]
public Guid? RelatedID { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Guid> |
|
RichBody
Rich-formatted body per content type
Declaration
[Field("*", StoreFlag.LoadAndStore, false, DataKind.Text, false, true, null, null, null, null, 0, 0, CharCase.AsIs, "rich", null, null, null, false, null, null, null, true)]
public string RichBody { get; set; }
Property Value
Type |
Description |
System.String |
|
RichBodyContentType
Declaration
[Field("*", StoreFlag.LoadAndStore, false, DataKind.Text, false, true, null, null, null, null, 0, 0, CharCase.AsIs, "rctp", null, null, null, false, null, null, null, true)]
public string RichBodyContentType { get; set; }
Property Value
Type |
Description |
System.String |
|
ShortBody
Declaration
[Field("*", StoreFlag.LoadAndStore, false, DataKind.Text, false, true, null, null, null, null, 0, 0, CharCase.AsIs, "short", null, null, null, false, null, null, null, true)]
public string ShortBody { get; set; }
Property Value
Type |
Description |
System.String |
|
Subject
Declaration
[Field("*", StoreFlag.LoadAndStore, false, DataKind.Text, false, true, null, null, null, null, 0, 0, CharCase.AsIs, "sb", null, null, null, false, null, null, null, true)]
public string Subject { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
Validate()
Declaration
public override Exception Validate()
Returns
Type |
Description |
System.Exception |
|
Overrides
Implements
System.IEquatable<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
Extension Methods