[Mac] 在 Outlook for Mac 裡,檢視信件的 MIME 原始碼與表頭
今天把網頁上的一段內容直接貼到 Outlook for Mac 上,
結果出現了一個浮動的表格標題列,
本來是想找方法看能不能編輯信件的 HTML 原始碼,但似乎不行,
倒是有找到可以檢視信件 MIME 原始碼的方式,記錄一下~
首先要在信件列表裡面,對想要看原始碼的郵件按右鍵 > View Source:
接著就會用預設的編輯器 (像我的是 Sublime Text) 打開一個原始碼檔案,
下面是一個範例:
Received: from adc.test.com by ADCEX.test.com; Mon, 5 Sep 2016 18:14:31 +0800 From: Marketing <marketing@test.com> To: Subscribers <subscribers@dl.test.com> Subject: =?utf-8?B?44CK54ax6ZaA6LK85paH6ZuZ6YCx5aCx44CL6YCZ6Zq755qu5Y2h5LiY5oqT?= =?utf-8?B?5LiN5b6XIS8g54mp6IGv57ayIChJb1Qp5pyD5oiQ54K657ay6Lev5YuS57Si?= =?utf-8?B?55qE5paw5aSp5Zyw77yfLyBGQknvvJrku4rlubTku6Xkvobororoh4noqZA=?= =?utf-8?B?6aiZLOWPl+Wus+S8gealreW3sui2hemBjiAyLjLokKzlrrY=?= Thread-Topic: =?utf-8?B?44CK54ax6ZaA6LK85paH6ZuZ6YCx5aCx44CL6YCZ6Zq755qu5Y2h5LiY5oqT?= =?utf-8?B?5LiN5b6XIS8g54mp6IGv57ayIChJb1Qp5pyD5oiQ54K657ay6Lev5YuS57Si?= =?utf-8?B?55qE5paw5aSp5Zyw77yfLyBGQknvvJrku4rlubTku6Xkvobororoh4noqZA=?= =?utf-8?B?6aiZLOWPl+Wus+S8gealreW3sui2hemBjiAyLjLokKzlrrY=?= Date: Mon, 5 Sep 2016 18:14:30 +0800 Accept-Language: en-US Content-Language: zh-TW X-MS-Has-Attach: X-MS-Exchange-Organization-SCL: -1 MIME-Version: 1.0 X-MS-Exchange-Organization-AuthSource: ADCEX.test.com X-MS-Exchange-Organization-AuthAs: Internal X-Auto-Response-Suppress: DR, OOF, AutoReply Content-type: multipart/alternative; boundary="B_3556200602_1519322" > This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible.
上面看到的這個就是 MIME 格式的信件內容,
從裡面就可以看到信件從哪來、經過了哪個郵件伺服器等等蠻多資訊,
不過像主旨那邊都被編碼起來了,有點看不懂…
這時可以用之前在 解析 MIME 表頭中,附件檔的原始檔名 這篇中,
介紹過的 Online MIME Headers Decoder (RFC 2047) 網站來幫忙解譯 MIME 表頭~
把 MIME 表頭的部分填入後,再按 Decode,就能得到下面的結果:
Received: from adc.test.com by ADCEX.test.com; Mon, 5 Sep 2016 18:14:31 +0800 From: Marketing <marketing@test.com> To: Subscribers <subscribers@dl.test.com> Subject: 《熱門貼文雙週報》這隻皮卡丘抓不得!/ 物聯網 (IoT)會成為網路勒索的新天地?/ FBI:今年以來變臉詐騙,受害企業已超過 2.2萬家 Thread-Topic: 《熱門貼文雙週報》這隻皮卡丘抓不得!/ 物聯網 (IoT)會成為網路勒索的新天地?/ FBI:今年以來變臉詐騙,受害企業已超過 2.2萬家 Date: Mon, 5 Sep 2016 18:14:30 +0800 Accept-Language: en-US Content-Language: zh-TW X-MS-Has-Attach: X-MS-Exchange-Organization-SCL: -1 MIME-Version: 1.0 X-MS-Exchange-Organization-AuthSource: ADCEX.test.com X-MS-Exchange-Organization-AuthAs: Internal X-Auto-Response-Suppress: DR, OOF, AutoReply Content-type: multipart/alternative; boundary="B_3556200602_1519322" > This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible.
雖然這次並沒有達到原本想要「編輯」信件中 HTML 原始碼的目標,
但也學到了如何「檢視」信件 MIME 原始碼的方法,也算不錯囉~
參考資料:View full message headers on Outlook 2011 for Mac
(本頁面已被瀏覽過 927 次)