mapi.MAPILogonEx

PyIMAPISession = MAPILogonEx(uiParam, profileName , password , flags )

Parameters

uiParam : int

Handle to the window to which the logon dialog box is modal. If no dialog box appears during the call, the uiParam parameter is ignored. This parameter can be zero.

profileName : string

A string that contains the name of the profile to use when the user logs on. This string is limited to 64 characters.

password=None : string

A string that contains the password of the profile. The password parameter must be None.

flags=0 : int