IMessage Interface

Represents a common message interface

Namespace:  Aspose.Email
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 21.6
Syntax
public interface IMessage

The IMessage type exposes the following members.

Properties
  NameDescription
Public propertyAttachments
Gets message attachments
Public propertyBcc
Gets BCC recipients
Public propertyBody
Gets or sets a message body
Public propertyBodyType
Gets the type of the body.
Public propertyCC
Gets CC recipients
Public propertyDate
Gets the date and time when message was delivered
Public propertyFrom
Gets or sets a from address
Public propertyHtmlBody
Gets or sets a html formatted message body
Public propertySubject
Gets or sets a message subject
Public propertyTo
Gets recipients
Methods
  NameDescription
Public methodSave(Stream)
Saves message to the specified stream
Public methodSave(String)
Saves message to the specified file
See Also