in reply to win32, Outlook OLE & security prompt....

Two small suggestions that might help, though both would require largely abandoning the code you've written. One is that instead of using Outlook programmatically, you can connect directly to the Exchange server using the CDO API. I don't know how to do this in current versions, and your Windows box may not have the required libraries, and also it would require you to put your username and password somewhere that your program could find it (or type it into a Tk prompt I guess), but it might be an option. The other thing is that Exchange 2000 and later are configured with IMAP by default, and assuming that's enabled, you can just connect to it from the Linux box using the software of your choice.
  • Comment on Re: win32, Outlook OLE & security prompt....

Replies are listed 'Best First'.
Re^2: win32, Outlook OLE & security prompt....
by elmangaso (Beadle) on Jan 05, 2006 at 16:52 UTC
    Thanks for the suggestions. Though from my googling research, it seems that whether you talk to the Outlook process via the outlook object model or to the exchange server via CDO, if you try to do it programmatically, the security prompt is triggered. What I wasn't sure of was whether it was possible to enter the username/password combo once in the application, and have it send the authentication each time and event was triggered. I couldn't find any info on something like that...