超过最大电子邮件地址大小 [英] Exceeding Max Email Address Sizes

查看:164
本文介绍了超过最大电子邮件地址大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

RFC标准说,最大电子邮件大小为320(实际上为256,根据 http://www.dominicsayers.com / ISEMAIL / )。有没有任何可想象的情况,电子邮件地址可能会比这更大?

RFC Standard says the max email size is 320 (actually 256 according to http://www.dominicsayers.com/isemail/). Is there any conceivable scenario where email addresses could end up being bigger than this?

推荐答案

阅读: http://www.eph.co.uk/resources/email-address-length-faq/
其结果是您应该使用254个字符来存储电子邮件地址,因为这是SMTP事务中允许的最大值。这在RFC5321(您的文章中这样说,实际上是在我的引用)中指定,这是权威性的。

Read this: http://www.eph.co.uk/resources/email-address-length-faq/ The upshot of it is that you should use 254 characters to store email addresses, because that is the maximum allowed in an SMTP transaction. This is specified in RFC5321 (your article says so, and is actually quoted in mine), which is authoritative.

这篇关于超过最大电子邮件地址大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆