为什么有些电子邮件的标题中包含毫无意义的字符字符串?

why-do-some-emails-have-nonsensical-strings-of-characters-as-headers-00

Most of the time, our email arrives without problems or quirks, but why do some arrive with nonsensical strings of characters as headers? Today’s SuperUser Q&A post has the answer to a puzzled reader’s question.

在大多数情况下,我们收到的电子邮件没有任何问题或古怪之处,但是为什么有些电子邮件以不真实的字符串作为标头呢? 今天的《超级用户问答》帖子解答了一个困惑的读者的问题。

Today’s Question & Answer session comes to us courtesy of SuperUser—a subdivision of Stack Exchange, a community-driven grouping of Q&A web sites.

今天的“问答”环节由SuperUser提供,它是Stack Exchange的一个分支,该社区是由社区驱动的Q&A网站分组。

Photo courtesy of Judith E. Bell (Flickr).

照片由Judith E. Bell(Flickr)提供

问题 (The Question)

SuperUser reader dpdt wants to know why he received an email with a nonsensical header:

超级用户阅读器dpdt想知道他为什么收到一封带有荒谬标题的电子邮件:

I recently received an email with the following title:

我最近收到了一封电子邮件,标题如下:

why-do-some-emails-have-nonsensical-strings-of-characters-as-headers-01

Thinking that it might be malware, I ran a check with Malwarebytes, but it came up clean. Is there any legitimate reason for the title being a nonsensical string of characters?

考虑到可能是恶意软件,我对Malwarebytes进行了检查,但结果很干净。 标题是否为荒谬的字符串,有任何正当的理由吗?

Why do some emails have nonsensical strings of characters as headers?

为什么有些电子邮件的标题中包含毫无意义的字符串?

答案 (The Answer)

SuperUser contributor user313114 has the answer for us:

超级用户贡献者user313114为我们提供了答案:

What you have is some header text encoded with a failed attempt at RFC 2047.

您所拥有的是一些标头文本,但在RFC 2047中尝试失败。

RFC 2047 is the standard governing the embedding of non-ASCII characters in email headers. It says that headers which do not comply (exactly) with the RFC 2047 standard should be displayed as-is rather than any decoding being attempted. So your email software is seeing the bad header and displaying it “correctly” (as required by the standard).

RFC 2047是管理在电子邮件标题中嵌入非ASCII字符的标准。 它说不(完全)符合RFC 2047标准的标头应按原样显示,而不是尝试进行任何解码。 因此,您的电子邮件软件会看到错误的标头,并“正确”显示它(按标准要求)。

No mainstream software flouts RFC 2047 so badly as that, so it is probably coming from some dodgy bulk mailing software. The software is making encoded words too long (the line length limit is 76 characters), which is forbidden (RFC 2047 says “MUST NOT”).

没有哪个主流软件能像RFC 2047那样糟糕,因此它可能来自某些狡猾的批量邮件软件。 该软件使编码的单词过长(行长度限制为76个字符),这是禁止的(RFC 2047说“不得”)。

Despite being too long, it can be decoded manually. It looks like some sort of recruiter spam:

尽管时间太长,但可以手动对其进行解码。 看起来像某种招聘者的垃圾邮件:

why-do-some-emails-have-nonsensical-strings-of-characters-as-headers-02


Have something to add to the explanation? Sound off in the comments. Want to read more answers from other tech-savvy Stack Exchange users? Check out the full discussion thread here.

有什么补充说明吗? 在评论中听起来不错。 是否想从其他精通Stack Exchange的用户那里获得更多答案? 在此处查看完整的讨论线程

翻译自: https://www.howtogeek.com/259836/why-do-some-emails-have-nonsensical-strings-of-characters-as-headers/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值