Table of Contents

Class Message

Namespace
Encryptomatic.MailDex.Lib.Messaging
Assembly
MailDex.Lib.dll

Mail Message.

public class Message : MessagingObject, IPropertyObject, IMessagignObjectWithRecipients, IMessagignObjectWithAttachments
Inheritance
Message
Implements
Derived
Inherited Members

Constructors

Message()

public Message()

Properties

Attachments

Message attachments.

public List<Attachment> Attachments { get; set; }

Property Value

List<Attachment>

BCC

Message BCC recipients. RecipientType

public List<Recipient> BCC { get; }

Property Value

List<Recipient>

Body

Message body. PidTagBody

public string Body { get; set; }

Property Value

string

BodyFormat

If NativeBody is set to undefined (0) we try to determine best available body format.

public BodyFormat BodyFormat { get; }

Property Value

BodyFormat

CC

Message CC recipients. RecipientType

public List<Recipient> CC { get; }

Property Value

List<Recipient>

DeliveryTime

public DateTime DeliveryTime { get; set; }

Property Value

DateTime

DisplayBcc

Contains an ASCII list of the display names of any blind carbon copy (BCC) message recipients, separated by semicolons (;).

public string DisplayBcc { get; set; }

Property Value

string

DisplayCc

Contains an ASCII list of the display names of any carbon copy (CC) message recipients, separated by semicolons (;).

public string DisplayCc { get; set; }

Property Value

string

DisplayTo

Contains a list of the display names of the primary (To) message recipients, separated by semicolons (;).

public string DisplayTo { get; set; }

Property Value

string

Encoding

Message body encoding.

public Encoding Encoding { get; set; }

Property Value

Encoding

From

String representation of the From field.

public string From { get; }

Property Value

string

FromEmailAddress

public string FromEmailAddress { get; set; }

Property Value

string

FromEmailAddressType

From email address type. PidTagSentRepresentingAddressType

public string FromEmailAddressType { get; set; }

Property Value

string

FromName

public string FromName { get; set; }

Property Value

string

FromSMTPAddress

public string FromSMTPAddress { get; set; }

Property Value

string

HTMLBody

Message HTML body. PidTagHtml

public string HTMLBody { get; set; }

Property Value

string

HTMLBodyRawData

Message HTML body raw data.

public byte[] HTMLBodyRawData { get; set; }

Property Value

byte[]

HasAttachments

The presence of Attachment(s) in the message.

public bool HasAttachments { get; }

Property Value

bool

InternetCodePage

public int InternetCodePage { get; set; }

Property Value

int

MessageFlags

public int MessageFlags { get; set; }

Property Value

int

ModifiedTime

Modified time.

public DateTime ModifiedTime { get; set; }

Property Value

DateTime

NameKeywords

public string[] NameKeywords { get; set; }

Property Value

string[]

Read

The message is marked as having been read.

public bool Read { get; }

Property Value

bool

Recipients

Message recipients including primary, CC and BCC recipients. RecipientType

public List<Recipient> Recipients { get; set; }

Property Value

List<Recipient>

RtfBody

RTF body.

public string RtfBody { get; }

Property Value

string

RtfCompressed

Message RTF body compressed. PidTagRtfCompressed

public byte[] RtfCompressed { get; set; }

Property Value

byte[]

SMIMEAttachment

public Attachment SMIMEAttachment { get; set; }

Property Value

Attachment

Sender

String representation of the Sender field.

public string Sender { get; }

Property Value

string

SenderEmailAddress

From email address. PidTagSenderEmailAddress

public string SenderEmailAddress { get; set; }

Property Value

string

SenderName

public string SenderName { get; set; }

Property Value

string

SenderSMTPAddress

public string SenderSMTPAddress { get; set; }

Property Value

string

Size

Message size. PidTagMessageSize

public int Size { get; }

Property Value

int

SizeKB

Message size in kilobytes.

public decimal SizeKB { get; }

Property Value

decimal

Subject

Message subject. PidTagSubject

public string Subject { get; set; }

Property Value

string

SubmittedTime

Submitted time. PidTagClientSubmitTime

public DateTime SubmittedTime { get; set; }

Property Value

DateTime

To

Message primary recipients. RecipientType

public List<Recipient> To { get; }

Property Value

List<Recipient>

TransportMessageHeaders

Transport message headers. PidTagTransportMessageHeaders

public string TransportMessageHeaders { get; set; }

Property Value

string

Methods

AsAppointment()

Creates an Appointment from message item properties. Use this if the message instance class is IPM.Appointment.

public Appointment AsAppointment()

Returns

Appointment

AsContact()

Creates a contact from message item properties. Use this if the message instance class is IPM.Contact.

public Contact AsContact()

Returns

Contact

AsTask()

Creates a Task from message item properties. Use this if the message instance class is IPM.Task.

public Task AsTask()

Returns

Task

LoadProperties(IEnumerable<BaseProperty>)

Internal. Do not use.

public override void LoadProperties(IEnumerable<BaseProperty> props)

Parameters

props IEnumerable<BaseProperty>