Daily Archives: 2010-03-19

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

2010-03-19 by Jinyang | 1 Comment | 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 […]

Tags:

返回顶部