MAPI Support Not Added Until Workgroups Mail Is Run

Last reviewed: November 21, 1994
Article ID: Q90408
The information in this article applies to:
  • Microsoft Windows for Workgroups versions 3.1, 3.11
  • Microsoft Excel for Windows versions, 4.x, 5.0
  • Microsoft PowerPoint for Windows, version 4.0
  • Microsoft Project for Windows, version 3.0
  • Microsoft Works for Windows, version 3.0
  • Microsoft Word for Windows, versions 2.0, 6.0

SUMMARY

Applications that support messaging application program interface (MAPI) may not display the Mail, Send, or Send Mail menu command unless Workgroup Mail has been run and a post office has been created and/or connected to.

As a result, you can fax documents using Microsoft At Work PC Fax only by choosing Print from the File menu and then selecting the "Microsoft At Work PC Fax on FAX" printer driver.

MORE INFORMATION

Windows for Workgroups Mail and At Work PC Fax support MAPI, which allows compliant applications to provide a direct interface to the messaging (mail) system through their own menu bars, such as the Send Mail command on the Windows for Workgroups File Manager Mail menu, or the Send command on the Microsoft Word for Windows File menu.

Applications check for MAPI support by issuing the Windows GetProfileInt function at installation or at startup. This function searches for the presence of a MAPI= variable in the [Mail] section of the WIN.INI file. If this variable is present and is equal to one (1), MAPI support is present.

Windows for Workgroups Workgroup Mail creates these entries in the WIN.INI file at run time, not at installation. Consequently, an application's check for MAPI support fails unless Workgroup Mail has been run, and a post office has been created or an existing post office has been connected to.

If you installed Windows for Workgroups 3.11 and selected "No Windows support for networks" in the Networks dialog box, Mail cannot add the MAPI entries to your WIN.INI file. To work around this problem, manually edit your WIN.INI file to add the MAPI entries.

To manually add MAPI support:

  1. Ensure MAPI.DLL is in the Windows SYSTEM subdirectory. If it is not, expand MAPI.DL_ from the original Windows for Workgroups disks using the EXPAND command. For example, if your Windows directory is C:\WINDOWS and your Windows for Workgroups floppy disk is in drive A, type "expand a:\mapi.dl_ c:\windows\system\mapi.dll" (without the quotation marks) at an MS-DOS command prompt and then press ENTER.

  2. Add the following lines to the WIN.INI file to enable MAPI support:

          [Mail]
          MAPI=1
    

  3. Quit and restart Windows for Workgroups.


KBCategory: kbusage kbdisplay kbatwork
KBSubcategory: wfw wfwg
Additional reference words: 3.10 3.11 mappy mapy mappy mappie mail api
messaging


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: November 21, 1994
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.