Share via


MapiMessage Class

Definition

The MapiMessage class contains a message that is sent to or received from the MAPI system. The message includes a subject, text, recipient information, and attachment information.

public ref class MapiMessage : Microsoft::Dynamics::Ax::Xpp::XppObjectBase
[Microsoft.Dynamics.Ax.Xpp.KernelClass]
public class MapiMessage : Microsoft.Dynamics.Ax.Xpp.XppObjectBase
[<Microsoft.Dynamics.Ax.Xpp.KernelClass>]
type MapiMessage = class
    inherit XppObjectBase
Public Class MapiMessage
Inherits XppObjectBase
Inheritance
Microsoft.Dynamics.AX.KernelInterop.ProxyBase
MapiMessage
Attributes

Remarks

When you send or receive a message, the message is passed to and from the MAPI system as a MapiMessage object.

Constructors

MapiMessage()
MapiMessage(IntPtr)

Fields

__k_MapiMessageId
kernelClass (Inherited from XppObjectBase)

Methods

__shouldCallNew(Type)
addXppProxyReference(Type, Object) (Inherited from XppObjectBase)
Call(String, Object[], Type[], Object[]) (Inherited from XppObjectBase)
cancelTimeOut(Int32) (Inherited from XppObjectBase)
conversationID()

Gets or sets the string that identifies the conversation thread to which the message belongs.

conversationID(String)
createKernelClass(Object[], Type[], Object[]) (Inherited from XppObjectBase)
dateReceived()

Returns the date when the message was received.

dateReceived(Date)
equal(XppObjectBase) (Inherited from XppObjectBase)
finalize()
flags()

Set or get a bitmask of the message status flags.

flags(Int32)
getFileNo(Int32)

Gets a file attachment from a message.

GetIntPtr() (Inherited from XppObjectBase)
GetKernelInstanceUniqueId() (Inherited from XppObjectBase)
getRecipNo(Int32)

Retrieves information about a message recipient in a MapiRecipDesc object.

getTimeOutTimerHandle() (Inherited from XppObjectBase)
getXppProxyReference(Type) (Inherited from XppObjectBase)
handle()
IsManagedValid() (Inherited from XppObjectBase)
kernelhandle()
KernelInstanceDisposed() (Inherited from XppObjectBase)
MakeReflectionCall(String, Object[]) (Inherited from XppObjectBase)
messageType()

Gets or sets the string that indicates that the message is not of the IPM (interpersonal message) type.

messageType(String)
newmethod()

Initializes an instance of the MapiMessage class.

notify() (Inherited from XppObjectBase)
notifyAll() (Inherited from XppObjectBase)
numFiles()
numFiles(Int32)
numRecips()
numRecips(Int32)
objectOnServer()
Obsolete.
(Inherited from XppObjectBase)
originator()
originator(MapiRecipDesc)
setFileNo(Int32, MapiFileDesc)

Sets a file attachment for the message.

setRecipNo(Int32, MapiRecipDesc)

Adds a recipient to the message.

setTimeOut(String, Int32, Boolean)
Obsolete.
(Inherited from XppObjectBase)
setTimeOut(String, Int32)
Obsolete.
(Inherited from XppObjectBase)
subject()
subject(String)
text()
text(String)
usageCount() (Inherited from XppObjectBase)
VerifyKernelClass() (Inherited from XppObjectBase)
wait() (Inherited from XppObjectBase)
Xml() (Inherited from XppObjectBase)
Xml(Int32) (Inherited from XppObjectBase)

Applies to