为什么Google警报电子邮件以base64纯文本格式发送?

时间:2019-05-05 04:59:12

标签: base64 mime

Google警报电子邮件以MIME的形式发送,其结构如下:

--000000000000bee7050588121c44
Content-Type: text/plain; charset="UTF-8"; format=flowed; delsp=yes
Content-Transfer-Encoding: base64

PT09IE5ld3MgLSAxIG5ldyByZXN1bHQgZm9yIFtyZWd1bGF0b3J5IGNhcHR1cmVdID09PQ0KDQpF
UEEgJ2luIGJlZCcgd2l0aCBNb25zYW50bz8gUmVndWxhdG9yIGlnbm9yZXMgcmlza3MsIGFmZmly
bXMgJ3NhZmV0eScgb2YNClJvdW5kdXAgJiBEb3cgcGVzdGljaWRlDQpSVA0K4oCcVGhlIEVQQSBo
YXMgYmVlbiBzdWJqZWN0IHRvIHJlZ3VsYXRvcnkgY2FwdHVyZS4gVGhlIHJlbGF0aW9uc2hpcCBi
ZXR3ZWVuDQp0aGUgcmVndWxhdG9yIOKAk3RoZSBFUEHigJMgYW5kIHRoZSByZWd1bGF0ZWQg4oCT

为什么他们将base / text / plain部分设为base64,而不是直接包含文本?我的直觉是有一些旧的电子邮件客户端兼容性问题吗?但这破坏了grep和其他传统工具。

出于好奇,这是我解码的方式:

$base64 -d
PT09IE5ld3MgLSAxIG5ldyByZXN1bHQgZm9yIFtyZWd1bGF0b3J5IGNhcHR1cmVdID09PQ0KDQpF
UEEgJ2luIGJlZCcgd2l0aCBNb25zYW50bz8gUmVndWxhdG9yIGlnbm9yZXMgcmlza3MsIGFmZmly
bXMgJ3NhZmV0eScgb2YNClJvdW5kdXAgJiBEb3cgcGVzdGljaWRlDQpSVA0K4oCcVGhlIEVQQSBo
YXMgYmVlbiBzdWJqZWN0IHRvIHJlZ3VsYXRvcnkgY2FwdHVyZS4gVGhlIHJlbGF0aW9uc2hpcCBi
ZXR3ZWVuDQp0aGUgcmVndWxhdG9yIOKAk3RoZSBFUEHigJMgYW5kIHRoZSByZWd1bGF0ZWQg4oCT
=== News - 1 new result for [regulatory capture] ===

EPA 'in bed' with Monsanto? Regulator ignores risks, affirms 'safety' of
Roundup & Dow pesticide
RT
“The EPA has been subject to regulatory capture. The relationship between 

0 个答案:

没有答案