Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

MsgMessage Class

Namespace: Rebex.Mail
Assembly: Rebex.Msg.dll (version 7.0.9119)

Represents an Outlook .MSG e-mail message.

Syntax
public class MsgMessage
Inheritance
Object
MsgMessage
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()

Constructors

Name Description
MsgMessage()

Initializes a new instance of Outlook .MSG e-mail message.

Properties

Name Description
Attachments

Gets a collection of attachments of the message.

Bcc

Gets a collection of 'BCC' addresses of the message.

BodyHtml

Gets the HTML body of the message.

BodyRtf

Gets the RTF body of the message.

BodyText

Gets the plain text body of the message.

CC

Gets a collection of 'CC' addresses of the message.

From

Gets or sets the 'From' address of the message. Setting null value causes the 'From' address to be cleared.

IsDraft

Gets or sets a value indicating whether this mail is considered a draft. This value indicates whether the message can be modified in e-mail clients.

Properties

Gets a collection of properties of the message.

Sender

Gets or sets the 'Sender' address of the message. Setting null value causes the 'Sender' address to be cleared.

Subject

Gets or sets the subject of the message.

To

Gets a collection of 'To' addresses of the message.

Methods

Name Description
Load(Stream)

Loads an Outlook .MSG mail message from the supplied stream.

Load(String)

Loads an Outlook .MSG mail message from the supplied file.

Save(Stream)

Saves the message to the supplied stream.

Save(String)

Saves the message to the supplied file.

SetBody(String, String, String)

Sets the body of the message.

In This Article
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies