企業Exchangeサーバー上に存在するパブリック共有フォルダがあります。Outlookへのプログラムによるアクセスを自動的に許可する
私はOutlookフォルダに接続しようとしていて、受信メールを監視しています。
ただし、接続すると、ローカルのOutlookインスタンスが許可を求められます。
このプロンプトを回避する方法はありますか?
関連するMAPIレジストリ値を追加しようとしましたが、依然としてプロンプトが表示されています。
どのような考えですか? MailItem.Bodyプロパティを読み込むときにプロンプト取得する場合、私は(のpython)
opened_key = winreg.CreateKey(winreg.HKEY_CURRENT_USER, r'SOFTWARE\Microsoft\Office\14.0\Outlook\Security')
winreg.SetValueEx(opened_key, 'PromptSimpleMAPISend', 0, winreg.REG_DWORD, 2)
winreg.SetValueEx(opened_key, 'PromptSimpleMAPINameResolve', 0, winreg.REG_DWORD, 2)
winreg.SetValueEx(opened_key, 'PromptSimpleMAPIOpenMessage', 0, winreg.REG_DWORD, 2)
winreg.SetValueEx(opened_key, 'PromptOomAddressBookAccess', 0, winreg.REG_DWORD, 2)
winreg.SetValueEx(opened_key, 'PromptOomFormulaAccess', 0, winreg.REG_DWORD, 2)
winreg.SetValueEx(opened_key, 'PromptOomSaveAs', 0, winreg.REG_DWORD, 2)
winreg.SetValueEx(opened_key, 'PromptOomAddressInformationAccess', 0, winreg.REG_DWORD, 2)
winreg.SetValueEx(opened_key, 'PromptOomMeetingTaskRequestResponse', 0, winreg.REG_DWORD, 2)
winreg.SetValueEx(opened_key, 'PromptOomSend', 0, winreg.REG_DWORD, 2)
winreg.CloseKey(opened_key)
コードのどの行がプロンプトを表示しますか?オプションのリストについては、http://www.outlookcode.com/article.aspx?id=52を参照してください。 –
プロンプトは実際には別のところで発生します。実際にフォルダ内の項目にアクセスしようとすると、 – Busturdust
私はそれを理解しています。それでも何ですか? –