Platform SDK: CDO for Windows 2000

IMessage Methods

The IMessage interface provides the following methods that you can use when constructing or managing messages.

IMessage Interface Methods

Method Description
AddAttachment Adds an attachment to the message.
AddRelatedBodyPart Adds a body part used in a message that is formatted in MHTML.
CreateMHTMLBody Creates a message formatted in MHTML.
Forward Returns a new object that can be used to forward the current message.
GetInterface Returns the requested interface on the object.
GetStream Returns a Stream object containing the message in serialized, wire-transport format.
Post Posts the message.
PostReply Returns a new object that can be used to post a reply to the current message.
Reply Returns a new object that can be used to reply to the message. Only the original sender is preset in the reply message.
ReplyAll Returns a new object that can be used to reply to the message. All previous recipients are preset in the new message.
Send Sends the message.