Class OutlookStorage.Message
Implements
Inherited Members
Namespace: Simplic.Framework.DocumentProcessing.Outlook
Assembly: Simplic.Framework.DocumentProcessing.dll
Syntax
public class Message : OutlookStorage, IDisposable
Constructors
| Improve this Doc View SourceMessage(Stream)
Initializes a new instance of the OutlookStorage.Message class from a System.IO.Stream containing an IStorage.
Declaration
public Message(Stream storageStream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | storageStream | The System.IO.Stream containing an IStorage. |
Message(String)
Initializes a new instance of the OutlookStorage.Message class from a msg file.
Declaration
public Message(string msgfile)
Parameters
Type | Name | Description |
---|---|---|
System.String | msgfile |
Properties
| Improve this Doc View SourceAttachments
Gets the list of attachments in the outlook message.
Declaration
public List<OutlookStorage.Attachment> Attachments { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<OutlookStorage.Attachment> | The list of attachments in the outlook message. |
BodyRTF
Gets the body of the outlook message in RTF format.
Declaration
public string BodyRTF { get; }
Property Value
Type | Description |
---|---|
System.String | The body of the outlook message in RTF format. |
BodyText
Gets the body of the outlook message in plain text format.
Declaration
public string BodyText { get; }
Property Value
Type | Description |
---|---|
System.String | The body of the outlook message in plain text format. |
From
Gets the display value of the contact that sent the email.
Declaration
public string From { get; }
Property Value
Type | Description |
---|---|
System.String | The display value of the contact that sent the email. |
Messages
Gets the list of sub messages in the outlook message.
Declaration
public List<OutlookStorage.Message> Messages { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<OutlookStorage.Message> | The list of sub messages in the outlook message. |
ReceivedDate
Gets the date the message was received.
Declaration
public DateTime ReceivedDate { get; }
Property Value
Type | Description |
---|---|
System.DateTime |
Recipients
Gets the list of recipients in the outlook message.
Declaration
public List<OutlookStorage.Recipient> Recipients { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<OutlookStorage.Recipient> | The list of recipients in the outlook message. |
Subject
Gets the subject of the outlook message.
Declaration
public string Subject { get; }
Property Value
Type | Description |
---|---|
System.String | The subject of the outlook message. |
Methods
| Improve this Doc View SourceDisposing()
Declaration
protected override void Disposing()
Overrides
| Improve this Doc View SourceLoadStorage(OutlookStorage.NativeMethods.IStorage)
Processes sub storages on the specified storage to capture attachment and recipient data.
Declaration
protected override void LoadStorage(OutlookStorage.NativeMethods.IStorage storage)
Parameters
Type | Name | Description |
---|---|---|
OutlookStorage.NativeMethods.IStorage | storage | The storage to check for attachment and recipient data. |
Overrides
| Improve this Doc View SourceSave(Stream)
Saves this OutlookStorage.Message to the specified stream.
Declaration
public void Save(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream | The stream to save to. |
Save(String)
Saves this OutlookStorage.Message to the specified file name.
Declaration
public void Save(string fileName)
Parameters
Type | Name | Description |
---|---|---|
System.String | fileName | Name of the file. |