IMessage

IMessage interface

Represents a common message interface

public interface IMessage

Properties

Name Description
Attachments { get; } Gets message attachments
Bcc { get; } Gets BCC recipients
Body { get; set; } Gets or sets a message body
BodyType { get; } Gets the type of the body.
CC { get; } Gets CC recipients
Date { get; } Gets the date and time when message was delivered
From { get; set; } Gets or sets a from address
HtmlBody { get; set; } Gets or sets a html formatted message body
Subject { get; set; } Gets or sets a message subject
To { get; } Gets recipients

Methods

Name Description
Save(Stream) Saves message to the specified stream
Save(string) Saves message to the specified file

See Also