EmlxMessage Class
A message of Apple Mail read from an .emlx file: the message, and the properties Apple Mail stores after it.
public sealed class EmlxMessageProperties
| Name | Description |
|---|---|
| AttachmentCount | Gets the number of attachments, which Apple Mail stores in the bits 10 to 15 of the flags property. |
| DateReceived | Gets the date the message was received, from the date-received property (seconds since 1970). |
| Flags | Gets the flags of the message, the low bits of the flags property. |
| IsPartial | Gets whether the file is a partial message (.partial.emlx): Apple Mail stores the content of its large attachments in other files, which the message does not contain. |
| Message | Gets the message. |
| Properties | Gets the properties of the property list after the message, such as flags, date-received or remote-id: String, Int64, Double, Boolean, DateTimeOffset, byte arrays, lists and dictionaries. |
| RawFlags | Gets the value of the flags property, with all its bits. |
AttachmentCount
EmlxMessage.csDateReceived
EmlxMessage.csGets the date the message was received, from the date-received property (seconds since 1970).
public DateTimeOffset? DateReceived { get; }Property value
Flags
EmlxMessage.csIsPartial
EmlxMessage.csMessage
EmlxMessage.csProperties
EmlxMessage.csGets the properties of the property list after the message, such as flags, date-received or remote-id: String, Int64, Double, Boolean, DateTimeOffset, byte arrays, lists and dictionaries.
public IReadOnlyDictionary<string, object?> Properties { get; }