Re-creating the Postoffice Initialization Procedure

Last reviewed: November 21, 1994
Article ID: Q95200
The information in this article applies to:
  • Microsoft Windows for Workgroups versions 3.1, 3.11

SUMMARY

When you first run Windows for Workgroups Mail, you are given the option to connect to an existing post office or create a new post office. After you make your choice, you cannot go back and choose again. If you want to change your initial selection, you must use the steps in this article to reinitialize Mail so that you can select the option you want.

Steps to Re-Create the Mail Initialization Procedure

  1. Open the MSMAIL.INI file in an ASCII text editor, such as Notepad.

  2. Disable the ServerPath= and the LOGIN= lines by typing a semicolon (;) at the beginning of each line.

  3. Add or edit the CustomInitHandler= line so that it appears as follows:

          CustomInitHandler=WGPOMGR.DLL,10
    

  4. Run Mail. The initialization procedure begins.

MORE INFORMATION

The initialization procedure is defined for Mail in the MSMAIL.INI file on the CustomInitHandler= line. This setting is defined as:

   CustomInitHandler=WGPOMGR.DLL,<procedure #>

When you run Mail, it checks for the existence of the CustomInitHandler= line in the MSMAIL.INI file. If this line exists, Mail attempts to execute the procedure defined by this parameter setting. If the execution fails because the dynamic-link library (DLL) file WGPOMGR.DLL cannot be found or the procedure is undefined, Mail continues without reporting an error.

The procedure, located in WGPOMGR.DLL, displays the Connect Or Create dialog box to allow you to either connect to an existing remote post office or create a new workgroup post office.

  • If you choose the Cancel button, WGPOMGR.DLL closes Mail.
  • If you choose the OK button, WGPOMGR.DLL removes the "CustomInitHandler=" line from the MSMAIL.INI file and returns to Mail, automatically signing you in to the post office.


KBCategory: kbnetwork kbusage
KBSubcategory: wfw wfwg
Additional reference words: 3.10 3.11 post office


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.