MAPIType

<< Click to Display Table of Contents >>

Navigation:  E-Mail Functions >

MAPIType

Previous pageReturn to chapter overviewNext page

[Windows platform only; not supported by the Community Edition]

Checks the machine, what type of MAPI is installed. This property supersedes the property IsMAPIInstalled and should be used instead.

property MAPIType [integer] VPE.MAPIType

read / write; runtime only

Returns:

ActiveX / VCL

Value

Enum

Comment

VMAPI_TYPE_NOT_INSTALLED

0

NotInstalled

MAPI is not installed

VMAPI_TYPE_EXTENDED

1

Extended

Extended MAPI is used

VMAPI_TYPE_SIMPLE

2

Simple

Simple MAPI is used

Remarks:

Extended MAPI and Simple MAPI are both APIs designed by Microsoft. Extended MAPI is a rather complex API, which is not supported by some mail clients, e.g. Thunderbird.

VPE determines the MAPI type which is supported by the default mail client, and returns it in this property. Sending the body of an e-mail message (this is different from attaching a VPE document as exported HTML) as HTML or RTF is only supported reliably, if Extended MAPI is supported.

 

If both MAPI types are available on the machine, VPE selects Simple MAPI by default. Due to the rather chaotic infrastructure of the Windows messaging subsystem, Simple MAPI causes less problems.