1

Possible Duplicate:
How to validate an email address in PHP

I'm working on my email address validator.

So I've been searching a while and noticed that some emails allows "+" in the email like: hello+guys@email.com

Hotmail doesn't allow a + and neither do yahoo. Do you guys know which ones doesn't allow it? And I also wonder, maybe there are some old hotmail/yahoo/etc accounts that actually contains the + character?

What do you think? I dont want my script to deny emails with a + if they do exists...

Community
  • 1
  • 1
Kilise
  • 1,051
  • 4
  • 15
  • 35

2 Answers2

3

There is a list of valid email characters under the syntax on http://en.wikipedia.org/wiki/Email_address and without going to each mail client and testing each character and email there is no way to tell who allows what.

Samuel Cook
  • 16,620
  • 7
  • 50
  • 62
0

Reason yahoo, hotmail would not allow it as it is also used as a user name and can lead to unexpected bugs. I do not think that many people out there are using + in there email, it is not the reason to limit your user base.

E_p
  • 3,136
  • 16
  • 28