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
BCC
Message BCC recipients. RecipientType
public List<Recipient> BCC { get; }
Property Value
Body
Message body. PidTagBody
public string Body { get; set; }
Property Value
BodyFormat
If NativeBody is set to undefined (0) we try to determine best available body format.
public BodyFormat BodyFormat { get; }
Property Value
CC
Message CC recipients. RecipientType
public List<Recipient> CC { get; }
Property Value
DeliveryTime
Delivery time. PidTagMessageDeliveryTime
public DateTime DeliveryTime { get; set; }
Property Value
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
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
DisplayTo
Contains a list of the display names of the primary (To) message recipients, separated by semicolons (;).
public string DisplayTo { get; set; }
Property Value
Encoding
Message body encoding.
public Encoding Encoding { get; set; }
Property Value
From
String representation of the From field.
public string From { get; }
Property Value
FromEmailAddress
From email address. PidTagSentRepresentingEmailAddress
public string FromEmailAddress { get; set; }
Property Value
FromEmailAddressType
From email address type. PidTagSentRepresentingAddressType
public string FromEmailAddressType { get; set; }
Property Value
FromName
public string FromName { get; set; }
Property Value
FromSMTPAddress
public string FromSMTPAddress { get; set; }
Property Value
HTMLBody
Message HTML body. PidTagHtml
public string HTMLBody { get; set; }
Property Value
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
InternetCodePage
public int InternetCodePage { get; set; }
Property Value
MessageFlags
public int MessageFlags { get; set; }
Property Value
ModifiedTime
Modified time.
public DateTime ModifiedTime { get; set; }
Property Value
NameKeywords
public string[] NameKeywords { get; set; }
Property Value
- string[]
Read
The message is marked as having been read.
public bool Read { get; }
Property Value
Recipients
Message recipients including primary, CC and BCC recipients. RecipientType
public List<Recipient> Recipients { get; set; }
Property Value
RtfBody
RTF body.
public string RtfBody { get; }
Property Value
RtfCompressed
Message RTF body compressed. PidTagRtfCompressed
public byte[] RtfCompressed { get; set; }
Property Value
- byte[]
SMIMEAttachment
public Attachment SMIMEAttachment { get; set; }
Property Value
Sender
String representation of the Sender field.
public string Sender { get; }
Property Value
SenderEmailAddress
From email address. PidTagSenderEmailAddress
public string SenderEmailAddress { get; set; }
Property Value
SenderName
public string SenderName { get; set; }
Property Value
SenderSMTPAddress
public string SenderSMTPAddress { get; set; }
Property Value
Size
Message size. PidTagMessageSize
public int Size { get; }
Property Value
SizeKB
Message size in kilobytes.
public decimal SizeKB { get; }
Property Value
Subject
Message subject. PidTagSubject
public string Subject { get; set; }
Property Value
SubmittedTime
Submitted time. PidTagClientSubmitTime
public DateTime SubmittedTime { get; set; }
Property Value
To
Message primary recipients. RecipientType
public List<Recipient> To { get; }
Property Value
TransportMessageHeaders
Transport message headers. PidTagTransportMessageHeaders
public string TransportMessageHeaders { get; set; }
Property Value
Methods
AsAppointment()
Creates an Appointment from message item properties. Use this if the message instance class is IPM.Appointment.
public Appointment AsAppointment()
Returns
AsContact()
Creates a contact from message item properties. Use this if the message instance class is IPM.Contact.
public Contact AsContact()
Returns
AsTask()
Creates a Task from message item properties. Use this if the message instance class is IPM.Task.
public Task AsTask()
Returns
LoadProperties(IEnumerable<BaseProperty>)
Internal. Do not use.
public override void LoadProperties(IEnumerable<BaseProperty> props)
Parameters
props
IEnumerable<BaseProperty>