Interface IMessage

IMessage interface

The common interface of messages.

public interface IMessage

Properties

NameDescription
Attachments { get; }Gets the attachments of the message.
Bcc { get; }Gets the BCC recipients.
Body { get; set; }Gets or sets the plain-text body.
BodyType { get; }Gets the format of the body: plain text, HTML or RTF.
CC { get; }Gets the CC recipients.
Date { get; }Gets the date and time of the message.
From { get; set; }Gets or sets the author of the message.
HtmlBody { get; set; }Gets or sets the HTML body.
Subject { get; set; }Gets or sets the subject.
To { get; }Gets the To recipients.

Methods

NameDescription
Save(Stream)Saves the message to a stream.
Save(string)Saves the message to a file.

See Also