in reply to Re: Re: Dealing with Popup-windows while connecting Outlook
in thread Dealing with Popup-windows while connecting Outlook

The method name you need is logon , not login.

Documentation for this method is here

Change your code as shown below, and retry.

$namespace->logon("profile", "password", 0, 1);