問題タブ [outlook-object-model]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
outlook - 1 回の発生から Outlook の予定シリーズ マスターへの方法
予定インスタンスが開かれたときに、一連の会議のマスター予定を取得する必要があります。
私は次のことを試しました(currentAppointment変数はAppointmentItem型です)
ただし、これは一連の予定の最初の予定ですが、olApptOccurrence の RecurrenceState を持っています。
olApptMaster への参照、つまり一連の会議を取得するにはどうすればよいですか?
c# - Outlook オブジェクト モデルを MHT として保存 タイム ゾーンを設定
Outlook のメールを MHTML (MHT) 形式で保存する必要があります。EntryID で 1 つの電子メールを検索し、それを MHT 形式で正常に保存するテスト アプリケーションがあります。
私の目標は、送信時間が表示されるタイムゾーンを指定することです。既定では、Outlook オブジェクト モデルは、MHT を書き込むコンピューターのタイム ゾーンを使用して MHT ファイルに時刻を書き込みます。任意のタイムゾーンとサマータイムの遵守を指定したい。
Outlook 2010、Windows XP SP2、Visual Studio 2008 Professional を使用しています。
コンピューターで同時に発生している可能性のある他のこととの問題を回避するために、処理コンピューターの時間を変更しないことをお勧めします。しかし、私はその道を行かなければならないかもしれません。
Application オブジェクトのタイム ゾーンを変更したかったのですが、プロパティApplication.TimeZones.CurrentTimeZone
が読み取り専用になっています。Set() メソッドが見つかりません。に割り当てようとするとCurrentTimeZone
、次のエラーが発生します。Property or indexer 'Microsoft.Office.Interop.Outlook._TimeZones.CurrentTimeZone' cannot be assigned to -- it is read only
com - Outlook Save MHT - BCC を含める、埋め込みアイテムを除外する、アドレスを表示する
C# と Outlook 2010 オブジェクト モデルを使用して、Outlook 電子メールを MHT 形式 (MIME HTML) で保存します。メールを MHT として保存しても問題ありません。
結果の MHT には、カスタマイズしたい側面があります。
Outlook で生成された MHT ファイルには、Bcc 受信者がいることがわかっている電子メールの Bcc 行が表示されません。これらの電子メールは、送信者の電子メール ストアから取得されます。Bcc 行を強制的に表示するオプションはありますか?
ソース電子メールがリッチ テキスト形式の電子メールで、埋め込みファイルが含まれている場合、Outlook は埋め込みファイルを結果の MHT に保存します。Outlook はこれをうまく行います。ただし、埋め込みファイルをパージしたいと思います。Outlook が埋め込みファイルを MHT に書き込まないようにするオプションはありますか? インライン画像を保持したいので、プレーン HTML として保存することはできません。
Outlook で生成された MHT ファイルには、各受信者の表示名が表示されます。MHT ファイルに各受信者の表示名と電子メール アドレスを表示したいと考えています。これを行う方法はありますか?
office-interop - 一部の送信者の電子メール アドレスには余分な 3 桁の 16 進数があります
数年間、クライアントの Exchange サーバーから Outlook PIA を読み取るアプリケーションを使用しています。最近、MailItem の SenderEmailType が "EX" の場合、SenderEmailAddress の末尾にthree
16 進数のようなものが含まれています。例:
/O=xxxx/OU=交換管理グループ (FYDIBOHF23SPDLT)/CN=受信者/CN=nnn nnn nnnD02
会社が Exchange をどのように運営しているかはわかりません。しかし、これは最近追加された従業員に対してのみ発生するようです。
余分な 3 文字の原因は何ですか?また、それらをどのように処理または回避できますか?
ms-access - How to have Access Macro bypass Outlook Object Model Guard
I am having lots of difficulties with the link between MS Access and MS Outlook. Both are at version 2010, I am using the EMailDatabaseObject macro to send a report to a specified email address. It works great, but when I try to run the macro, I get a message stating: "A program is trying to send an e-mail message on your behalf" and asks if I would want to Allow (after 5 seconds of waiting) or Deny.
I've researched into this and realized that it is the Outlook Object Model Guard that is causing this problem. I have configured the Options in both programs, changed the Trust Center for both to Enable all macros, added the Database file location into Access' Trusted Locations, have the "Never warn me about suspicious activity" button checked under Outlook's Programmatic Access, and with all of these set, when I run the macro, it still asks that annoying security warning.
Other solutions show methods of changing the VBA script but I really do not understand or know as to which locations to change what. I've converted my macro to Visual Basic and this is the code:
I have the macro named AutoExec for the purpose to have the macro run immediately when the file opens.
Please help and let me know what other solutions that I could use for this. If it really requires me to alter the above code, I'm unsure how to change the code for a Macro. I realize that when I converted the macro, it becomes another module that does not work the same way. There are no options in Access to view a Macro's code side.
Any help would be greatly appreciated. I would prefer solutions that would not cost me any $$$, whatever it takes otherwise. Thanks for the help.
c# - 会話インデックスのタイムスタンプから日時を取得する
Outlook には、会話インデックスの概念があります。元のメールには、次のような会話インデックスがあります。
01017C2A2FF4481FED6C146C98A04E2FDB77CEFE8E239603ED7DE0
多くのGoogle検索によると、返信には日時スタンプが追加されます
01017C2A2FF4481FED6C146C98A04E2FDB77CEFE8E239603ED7DE0800000ABF0
800000ABF0
ただし、この値を解析する方法を教えてくれるものはありません。
そこからどのように DateTime オブジェクトを取得しますか?
outlook-addin - Outlook アプリケーションに情報バーを表示する
atl を使用して Outlook プラグインを開発しました。アプリケーションのリボンのすぐ下にある黄色いバーを使用して、ユーザーに情報を表示したいと思います。相互運用でそのためのクラスを1つ見つけましたが、その使用方法がわかりません。そのolkinfobar
そのインスタンスを作成する場合、それをアプリケーションにバインドする方法よりも。
https://msdn.microsoft.com/en-us/library/microsoft.office.interop.outlook.olkinfobarclass.aspx