The hSession can be 0. In this case, the MAPILogon and MAPILogoff are not required. It is called an implicit logon -- a temporary MAPI session is created. The implicit session is closed by the time the call returns.
Credits: PHP (4.4.9), an HTML-embedded scripting language,
MySQL (5.1.55-log), the Open Source standard SQL database,
Version 4, freeware HTML Editor of choice. Hosted by Korax Online Inc.