gpt4 book ai didi

email - 如何解码电子邮件的内容?

转载 作者:行者123 更新时间:2023-12-01 10:40:23 33 4
gpt4 key购买 nike

我收到了一封电子邮件:

Dear xxx,

Thank you. You have just ordered the ultimate treat for your taste buds.

Your yummy, lip smacking delight is being prepared with utmost love and attention at your own neighbouring Pizza Hut – Bengaluru - Airport Road....

但是当我说“显示原创”时,它显示为:
MIME-Version: 1.0
Sender: noreply@pizzahut.co.in
From: noreply@pizzahut.co.in
To: xxx@gmail.com
Reply-To: noreply@pizzahut.co.in
Date: 19 Sep 2014 19:44:26 +0530
Subject: PHD: Your order confirmation
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: base64
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - server.pizzahut.co.in
X-AntiAbuse: Original Domain - gmail.com
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - pizzahut.co.in
X-Get-Message-Sender-Via: server.pizzahut.co.in: authenticated_id: noreply@pizzahut.co.in

PCFET0NUWVBFIGh0bWwgUFVCTElDICItLy9XM0MvL0RURCBYSFRNTCAxLjAgVHJhbnNp
dGlvbmFsLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL1RSL3hodG1sMS9EVEQveGh0bWwx
LXRyYW5zaXRpb25hbC5kdGQiPjxodG1sIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8x
OTk5L3hodG1sIj48aGVhZD48bWV0YSBodHRwLWVxdWl2PSJDb250ZW50LVR5cGUiIGNv
bnRlbnQ9InRleHQvaHRtbDsgY2hhcnNldD11dGYtOCIgLz48dGl0bGU+UGl6emEgaHV0
PC90aXRsZT48L2hlYWQ+PGJvZHk+PHRhYmxlIHdpZHRoPSI2MDAiIGJvcmRlcj0iMCIg
Y2VsbHNwYWNpbmc9IjAiIGNlbGxwYWRkaW5nPSIwIj48dHI+PHRkIGFsaWduPSJjZW50
ZXIiIGJnY29sb3I9IiM5NjE3MDAiPjx0YWJsZSB3aWR0aD0iNjAwIiBib3JkZXI9IjAi
IGNlbGxzcGFjaW5nPSIwIiBjZWxscGFkZGluZz0iMCI+PHRyPjx0ZD48aW1nIHNyYz0i
aHR0cDovLzEwLjEyNy4yMDAuMzAvcGhpbmRpYS93ZWIvYXNzZXRzL1BISU4vSW1hZ2Vz

Gmail 客户端如何从这个混淆的文本中解码内容?此外,这是 Gmail API 特定的问题:这是 Gmail API 在返回内容时会为我解码的内容吗?

最佳答案

邮件是 base64 编码的。在浏览器中按 F12 打开开发者工具,然后对消息进行 base64 解码

atob("PCFET0NUWVBFIGh0bWwgUFVCTElDICItLy9XM0MvL0RURCBYSFRNTCAxLjAgVHJhbnNp dGlvbmFsLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL1RSL3hodG1sMS9EVEQveGh0bWwx LXRyYW5zaXRpb25hbC5kdGQiPjxodG1sIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8x OTk5L3hodG1sIj48aGVhZD48bWV0YSBodHRwLWVxdWl2PSJDb250ZW50LVR5cGUiIGNv bnRlbnQ9InRleHQvaHRtbDsgY2hhcnNldD11dGYtOCIgLz48dGl0bGU+UGl6emEgaHV0 PC90aXRsZT48L2hlYWQ+PGJvZHk+PHRhYmxlIHdpZHRoPSI2MDAiIGJvcmRlcj0iMCIg Y2VsbHNwYWNpbmc9IjAiIGNlbGxwYWRkaW5nPSIwIj48dHI+PHRkIGFsaWduPSJjZW50 ZXIiIGJnY29sb3I9IiM5NjE3MDAiPjx0YWJsZSB3aWR0aD0iNjAwIiBib3JkZXI9IjAi IGNlbGxzcGFjaW5nPSIwIiBjZWxscGFkZGluZz0iMCI+PHRyPjx0ZD48aW1nIHNyYz0i aHR0cDovLzEwLjEyNy4yMDAuMzAvcGhpbmRpYS93ZWIvYXNzZXRzL1BISU4vSW1hZ2Vz")

这会给你原始邮件。

关于email - 如何解码电子邮件的内容?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30648850/

33 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com