簡體   English   中英

使用 Python 在 Outlook 中顯示某些 email

[英]Display certain email in Outlook using Python

我構建了一個腳本,使用 Python + Exchangelib 分析我的 outlook 收件箱郵件。 它會篩選我的 email 收件箱,例如最近 2 天的一些條件語句,output 將是所有需要我注意的電子郵件及其屬性(包括對話 ID 和電子郵件 ID)。

到目前為止,一切都很好。

現在我想在我的本地 email 客戶端 (Outlook) 上打開/顯示來自我的腳本的一封電子郵件。

  1. 我發現不可能使用 Exchangelib 在 Outlook 上顯示它,但真的是這樣嗎? 那會是什么方法呢?

  2. 如果是這樣,我的其他選擇是什么? 該解決方案應使用我的篩選腳本中的電子郵件屬性(例如對話 ID 或電子郵件 ID)作為指向要在 Outlook 上打開的電子郵件的指針。

  3. O365(哪種方法?)或pywin32(MailItem.display())怎么樣? 優點和缺點? 據我了解,pywin32 不適用於 Unix 系統。

感謝您的任何輸入:-)

似乎沒有辦法深度鏈接到 OWA 中的特定 email。 請參閱https://github.com/OfficeDev/office-js/issues/1095上的一些討論

Outlook provides some command-line switches to open Outlook in various modes, but there doesn't seem to be a switch to open Outlook with a specific email ID. https://www.howto-outlook.com/howto/commandlineswitches.htm#overview上查看開關的完整概述

Regarding exchangelib and Outlook: exchangelib is a cross-platform tool and Outlook is only available on Windows and OS X, so exchangelib doesn't offer any integration with Outlook.

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM