1

My javascript code I found lets through email addresses that dont have an @ symbol in the string, is that ok or is that bad?

Hard worker
  • 3,916
  • 5
  • 44
  • 73

1 Answers1

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