我应该在@登录电子邮件之前删除所有圆点吗 [英] Should I remove all dots before the @ sign in emails

查看:89
本文介绍了我应该在@登录电子邮件之前删除所有圆点吗的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在基于Web的REST api系统中,我希望人们输入他们的电子邮件地址以及他们选择的对我的服务进行身份验证的密码(相当普遍的做法,没有新内容),

In a web based+REST api system, I want people to enter their email address along a password they choose to authenticate to my service (pretty common practice, nothing new),

我的问题是,如果我将它们小写并删除@符号前的点(.),可以吗?

My question is, is it ok if I lower case them and remove any dot (.) before the @ sign?

为了更加清楚,"ali@example.com"和"a.li@ExamPle.Com"将是同一用户.
因此,此问题的一部分将是,那里是否存在对电子邮件中的点敏感的电子邮件服务,并且如果将它们发送到无点版本,您将不会收到电子邮件?据我所知,Gmail忽略了这些点.

To make it even more clear, "ali@example.com" and "a.li@ExamPle.Com" will be the same user.
So part of this question will be, are there email services out there that are sensitive to dots in your email and you will not receive your email if they are send to the dot less version? Gmail ignores the dots as far as I know.

推荐答案

根据 RFC 3696 ,句点是有效的电子邮件字符:

According to RFC 3696, the period is a valid email character:

当前的电子邮件地址由一个本地部分"和一个域部分"(一个完全限定的域名)组成,并用一个符号("@")隔开.

Contemporary email addresses consist of a "local part" separated from a "domain part" (a fully-qualified domain name) by an at-sign ("@").

[…]

不带引号的本地部分可以由
的任意组合组成 字母,数字或任何特殊字符

Without quotes, local-parts may consist of any combination of
alphabetic characters, digits, or any of the special characters

  ! # $ % & ' * + - / = ?  ^ _ ` . { | } ~

句点(.")也可能会出现,但可能不会用于开始或结束 本地部分,也不会出现两个或多个连续的时间段.

period (".") may also appear, but may not be used to start or end the local part, nor may two or more consecutive periods appear.

为了提供更多信息,Exchange似乎没有忽略电子邮件地址中的句点(firstname.lastname@myprovider.com起作用,而firstnamelastname@myprovider.com导致了交付状态通知(失败) ).

To provide some more information, it looks like Exchange doesn't ignore the period in email addresses (firstname.lastname@myprovider.com worked, whereas firstnamelastname@myprovider.com resulted in a Delivery Status Notification (Failure)).

这篇关于我应该在@登录电子邮件之前删除所有圆点吗的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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