Export (0) Print
Expand All

IMAPIMessageSite : IUnknown

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Manipulates messages and is implemented by the form viewer code (typically a client application) that responds to such manipulation.

Header file:

Mapiform.h

Exposed by:

Message site objects

Implemented by:

Form viewers

Called by:

Form objects

Interface identifier:

IID_IMAPIMessageSite

Pointer type:

LPMAPIMESSAGESITE

GetSession

Returns the MAPI session in which the current message was created or opened.

GetStore

Returns the message store that contains the current message, if such a store exists.

GetFolder

Returns the folder in which the current message was created or opened, if such a folder exists.

GetMessage

Returns the current message.

GetFormManager

Returns a form manager interface, which a form server can use to open another form server.

NewMessage

Creates a new message.

CopyMessage

Copies the current message to a folder.

MoveMessage

Moves the current message to a folder.

DeleteMessage

Deletes the current message.

SaveMessage

Requests that the current message be saved.

SubmitMessage

Requests that the current message be queued for delivery.

GetSiteStatus

Returns information from a message site object about the message site's capabilities for the current message.

GetLastError

Returns a MAPIERROR structure that contains information about the previous error occurring to the message site object.

Show:
© 2014 Microsoft