2025年4月15日 星期二

[研究]Outlook 的 .msg 檔案格式有版本之分嗎?

[研究]Outlook 的 .msg 檔案格式有版本之分嗎?

2025-04-15

.msg 檔案格式版本號碼 是否就是Outlook 軟體版本號碼 ? 參考資料網址 ?

ChatGPT 說:

是的,.msg 檔案格式確實有版本區別,主要取決於創建該文件的 Outlook 版本和其背後的 Microsoft Messaging API(MAPI)技術。

[MS-OXMSG]: Outlook Item (.msg) File Format
https://learn.microsoft.com/en-us/openspecs/exchange_server_protocols/ms-oxmsg/b046868c-9fbf-41ae-9ffb-8de2bd4eec82

這些版本的 .msg 檔案格式會根據 Outlook 的版本和 Microsoft Exchange 的協定修訂進行更新。

********************************************************************************

.msg 檔案格式版本號碼 是否就是Outlook 軟體版本號碼 ? 參考資料網址 ?

ChatGPT 說:

.msg 檔案的「格式版本號碼」並不等同於 Microsoft Outlook 的「軟體版本號碼」。雖然兩者有關聯,但它們是不同層次的資訊。

🔹 .msg 檔案格式版本號碼是什麼?

.msg 是 Microsoft Outlook 使用的郵件儲存格式,基於 Microsoft Compound File Binary Format (CFBF),內部則根據 Outlook MSG File Format Specification 儲存結構化郵件資料(如寄件人、收件人、標題、內文、附件等)。

[MS-CFB]: Compound File Binary File Format
https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-cfb/53989ce4-7b05-4f8d-829b-d08d6148375b

在 .msg 中可能會有一個屬性(例如 PidTagMessageCodepage 或 PidLidCurrentVersion)代表創建此檔案的 Outlook 版本,但這不是 .msg 格式的版本號,而是郵件項目的 Outlook 建立版本。

🔸 Outlook 軟體版本號碼是什麼?

Outlook 軟體的版本如:

  • Outlook 2013 → 15.0
  • Outlook 2016 → 16.0
  • Outlook 2019 / Office 365 → 16.0(同一核心)
  • Outlook 2021 → 16.0(也是同一核心)

✅ .msg 和 Outlook 版本的關係

.msg 檔案內有時會包含 Outlook 軟體版本的記錄,但這是作為欄位存在,不代表 .msg 的格式版本。

例如以下欄位:

  • PidLidCurrentVersion(DASL 名稱:http://schemas.microsoft.com/mapi/id/{00062008-0000-0000-C000-000000000046}/8582000B)

可以儲存 Outlook 版本資訊,像是 0x00041500 → 對應 Outlook 2013。

但這個是郵件創建時的 Outlook 版本記錄,而非 .msg 格式的版本號碼本身。

📚 參考資料網址:

[MS-OXMSG]: Outlook Item (.msg) File Format
https://learn.microsoft.com/en-us/openspecs/exchange_server_protocols/ms-oxmsg/

Compound File Binary Format:
https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-cfb/

如果你是在開發或分析 .msg 檔案,建議使用 Microsoft 提供的 MAPI properties 文件了解屬性對應。

(完)

相關

[研究]Outlook 的 .msg 檔案格式有版本之分嗎?
https://shaurong.blogspot.com/2025/04/outlook-msg.html

[研究]郵件 .eml 檔案格式有版本之分嗎?
https://shaurong.blogspot.com/2025/04/eml.html


沒有留言:

張貼留言