Is it possible to use double @ in an email address?
Asked Answered
P

3

5

I know Yahoo and Gmail do not accept it. But I want to know if it's possible for a person to create an email address with double @ in address and if they can receive emails with that address?

For example: [email protected]@example.com.

I do not want to use this non standard format, but I want to know if a hacker can do it?

Psychiatrist answered 7/10, 2015 at 7:52 Comment(2)
Lookup "email address" on wikipedia - it will point you at the right standards etc to get the definitive answer.Rumania
I've given a comment lower but older people will remember having to nest Banyan vines email for gateways (Digital famously used Banyan Vines). It has to be in the local-part and it has to be quoted. "foo@example"@example.com is valid. Many servers filter anything that looks like it is wrapped in this way, sadly.Proparoxytone
A
2

As this question's answer says:

The local-part of the e-mail address may use any of these ASCII characters:

  • Uppercase and lowercase English letters (a-z, A-Z)
  • Digits 0 to 9
  • Characters ! # $ % & ' * + - / = ? ^ _ ` { | }
  • Character . (dot, period, full stop) provided that it is not the first or last character, and provided also that it does not appear two or more times consecutively.

so it is usually not allowed :)

Anywhere answered 7/10, 2015 at 8:4 Comment(0)
R
5

According to the Wikipedia entry for Email Address, it is allowed.

Space and special characters "(),:;<>@[\] are allowed with restrictions (they are only allowed inside a quoted string, as described in the paragraph below, and in addition, a backslash or double-quote must be preceded by a backslash).

Rici answered 4/9, 2019 at 5:42 Comment(0)
L
3

No it is not allowed. See the RFC Section 3.4.1

An addr-spec is a specific Internet identifier that contains a locally interpreted string followed by the at-sign character ("@", ASCII value 64) followed by an Internet domain. The locally interpreted string is either a quoted-string or a dot-atom. If the string can be represented as a dot-atom (that is, it contains no characters other than atext characters or "." surrounded by atext characters), then the dot-atom form SHOULD be used and the quoted- string form SHOULD NOT be used. Comments and folding white space SHOULD NOT be used around the "@" in the addr-spec.

Lifeordeath answered 7/10, 2015 at 8:30 Comment(1)
It has to be quoted. "foo@@bar"@example.com is a valid email. Read further.Proparoxytone
A
2

As this question's answer says:

The local-part of the e-mail address may use any of these ASCII characters:

  • Uppercase and lowercase English letters (a-z, A-Z)
  • Digits 0 to 9
  • Characters ! # $ % & ' * + - / = ? ^ _ ` { | }
  • Character . (dot, period, full stop) provided that it is not the first or last character, and provided also that it does not appear two or more times consecutively.

so it is usually not allowed :)

Anywhere answered 7/10, 2015 at 8:4 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.