Logon to Outlook problem

A

Amit

Hi All!!!,
I try login to outlook using outlook object model and call
looks like

pNameSpace->Logon("Profile", "", true, true);

pNameSpace is already initialized.

this call display the NT authentication passward window
and pst password window but on clicking CANCEL also, this
call return S_OK. So I am not able to identify user
pressed OK or CANCEL. Please anyone know how to resolve
this issue.

thanks,
-Amit
 
Top