电子邮件的标题最大可以有多长?

2010-03-19 | By Jinyang | Filed in: 技术相关.

上午搞了个简单的小WinForm程序自动获取一些网络上的内容并处理后发到我的邮箱,邮箱会自动转发至电信189邮箱然后手机就会收到短信。
因为发现189邮箱会把完整的subject都发送到手机(长短信)(139邮箱会自动截取一定长度的subject下发),所以就想可否把所需内容直接都放带标题中表述,但是电子邮件的标题到底有多长呢?

引用地址:http://stackoverflow.com/questions/1592291/what-is-the-email-subject-length-limit  ,  RFC 2822 
There are two limits that this standard places on the number of characters in a line. Each line of characters MUST be no more than  998 characters, and SHOULD be no more than 78 characters, excluding the CRLF.

即:最大不允许超过998字符,推荐不超过78个字符 。

使用小WinForm程序调用 smtp.163.com 发送给gmail ,gmail可接收并在subject栏显示的长度确为998 ,不过gmail的web界面转发出去时长度最大为250。

Web查看:

from ****@163.com
to ********@gmail.com
date Fri, Mar 19, 2010 at 2:41 PM
subject 94882.com_30801.com_00904.com_________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________
mailed-by 163.com

PS:已经习惯用 NotePad++了,今天特升级至5.6.8 了,好用


Tags:

One comment on “电子邮件的标题最大可以有多长?

  1. jake说道:

    notepad还是不错的,小巧。但是我一直用5.1.1,经典

发表评论

电子邮件地址不会被公开。 必填项已用*标注