banduwgs has asked for the wisdom of the Perl Monks concerning the following question:

Dear Monks,

First of all I would like to say this is a question linked Dealing with Popup-windows while connecting Outlook which I posted before.

Even following pease of code given by NetWallah solve that problem upto certain extend nicely (to select profile and provide password)

Set myOlApp = CreateObject("Outlook.Application") Set myNameSpace = myOlApp.GetNameSpace("MAPI") myNameSpace.Logon "myProfile", "myPassword", True, True

I couldn't deal with "Personal Folder Password" yet which is promted there after. Is there any way of providing this password also by the program itself?

Hope you would help me - SB

Replies are listed 'Best First'.
Re: Outlook Personal Folder Password
by Anonymous Monk on Sep 26, 2003 at 12:04 UTC

    Hi...

    The password doesn't actually encrypt anything and is a very poor security mechanism. Take a look at The libPST Project over at Freshmeat...

    - Mark

      Or additionally, if you already know the password you can use the SendKeys functionality that's available from Win32::GuiTest...

      - Mark

        Thanks for your comments Mark. Yes, I could manage with "SendKeys()" method. However I would like to know whether it is possible with "Outlook Object Modle". - SB