MAPI_IsMailEnabled()

Examples


The MAPI_IsMailEnabled() function indicates whether the current workstation supports MAPI. It can also be used to find out what level of MAPI support is available.

Syntax

MAPI_IsMailEnabled({level})

Parameters

level – An optional integer parameter that specifies what level of MAPI support to check. The value corresponds to one of the following constants:

[spacer]

Constant

Description

MAPI_SIMPLE

Simple MAPI

MAPI_EXTENDED

Extended MAPI


If this parameter is not supplied, the function will return true if either simple or extended MAPI is supported.

Return value

A boolean. True indicates the specified level of MAPI is supported, while false indicates it is not.

Comments

Before you use features of extended MAPI, you should explicitly check whether extended MAPI is supported.


Documentation Feedback