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

This is a really good solution for me, if it is possible to apply in Perl. When I call
$namespace->login("profile", "password", 0, 1);
it gives:

retrying default method at .../site/lib/"in32/OLE/Lite.pm line 156.
Win32::OLE(0.1403) error 0x8002000e: "Invalid number of parameters" in METHOD/PROPERTYGET "" at <path> Line <#>

I think this might be since login method is not implimented in OLE module.

Do you have any alternation to achieve the success here? - SB

Replies are listed 'Best First'.
Re: Re: Re: Dealing with Popup-windows while connecting Outlook
by NetWallah (Canon) on Aug 19, 2003 at 20:14 UTC
    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);