Reply to post: Re: "Wrong" email addresses

Either my name, my password or my soul is invalid – but which?

J.G.Harston Silver badge

Re: "Wrong" email addresses

Why on earth is anybody using any sort of regex on email addresses? The only entity that knows - that is *capable* of knowing - if a particular email address is valid or not is the receiving email mailbox. This is as moronic as those sites that scream at me that my telephone number is wrong - the telephone number that is printed on my telephone right in front of me.

The ***ONLY*** testable thing you can apply to an email address is that is has a '@' in it. (I used to say exactly one '@' and at least one '.', but I have a nagging feeling something like admin@net is fully legal.)

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

Biting the hand that feeds IT © 1998–2019