My javascript code I found lets through email addresses that dont have an @ symbol in the string, is that ok or is that bad?
Asked
Active
Viewed 389 times
1
-
1Yes, it is required. And yes, it is very bad. - http://simonslick.com/VEAF/ – Niccolò Campolungo Aug 02 '13 at 10:14
-
An email address without `@` is sent to the local computer, which is useless in a web settting. – Basile Starynkevitch Aug 02 '13 at 10:14
1 Answers
1
In RFC 822, p.27, an address is defined by
addr-spec = local-part "@" domain ; global address
So definitely, you need the "@" character.

Ortomala Lokni
- 56,620
- 24
- 188
- 240