本文介绍了什么是电子邮件主题长度限制?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

互联网电子邮件主题行中允许有多少个字符?
我扫描了,但看不清楚多久它被允许成为。
我有一个同事想以编程方式验证它。

How many characters are allowed to be in the subject line of Internet email?I had a scan of The RFC for email but could not see specifically how long it was allowed to be.I have a colleague that wants to programmatically validate for it.

如果没有正式的限制,实践中建议的长度是多少?
干杯,

If there is no formal limit, what is a good length in practice to suggest?Cheers,

推荐答案

请参阅,第2.1.1节开始。

See RFC 2822, section 2.1.1 to start.

随着RFC的规定,您可以通过将主题折叠多行来解决这个限制(而不是你应该)。

As the RFC states later, you can work around this limit (not that you should) by folding the subject over multiple lines.

       Subject: This is a test

可以表示为:

       Subject: This
        is a test


主题中超过78个字符听起来很合理。没有人想滚动查看整个主题行,重要的一些可能会在右边被切断。

The recommendation for no more than 78 characters in the subject header sounds reasonable. No one wants to scroll to see the entire subject line, and something important might get cut off on the right.

这篇关于什么是电子邮件主题长度限制?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-18 03:09
查看更多