在电子邮件中的@之前添加+文字 [英] Adding + text before the @ in an email

查看:114
本文介绍了在电子邮件中的@之前添加+文字的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道通过gmail,您可以通过电子邮件发送电子邮件给您,并附上电子邮件的末尾附加的+extext,您将收到电子邮件,就像将其发送到您的普通电子邮件一样。例如,如果您的电子邮件是:

  joeshmo@gmail.com 

我可以发邮件

  joeshmo+hello@gmail.com 

和joeshmo@gmail.com将收到电子邮件。



这是电子邮件的标准还是只是几个电子邮件客户端的功能?我正在写一个脚本,为用户注册一个网站上的帐户,我希望该脚本适用于已经在该网站上拥有帐户的用户。我的计划是用

  theiremail+mypersonaltag@theirdomain.com 
感谢您的帮助。

解决方案

这是一个已经存在至少25年的违反标准。然而,虽然大多数电子邮件系统都将遵守用户+标签约定,但我并不知道有任何RFC要求遵守的RFC。



另一方面,我不知道任何电子邮件系统不起作用。我确定有一些。


I know with gmail you can have people email you at your email with a +sometext appended to the end of your email and you will receive the email as if it were sent to your normal email. For example, if your email is:

joeshmo@gmail.com

I can email

joeshmo+hello@gmail.com

and joeshmo@gmail.com will receive the email.

Is this a standard for email or only a feature of a few email clients? I'm writing a script that signs up users for an account on a website, and I want that script to work for users who already have an account on said website. My plan is to sign them up with

theiremail+mypersonaltag@theirdomain.com

Thanks for the help.

解决方案

It's a defacto standard that has been around for at least 25 years. However while most email systems will honor the user+tag convention, I am not aware of any RFC that dictates they must honor it.

On the other hand, I'm not aware of any email system where this doesn't work. I'm sure there are some.

这篇关于在电子邮件中的@之前添加+文字的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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