W3C home > Mailing lists > Public > www-html@w3.org > February 2001

RE: What are the verification rules for correct e-mail address ?

From: Dave J Woolley <david.woolley@bts.co.uk>
Date: Tue, 6 Feb 2001 16:47:45 -0000
Message-ID: <81E4A2BC03CED111845100104B62AFB50102A460@stagecoach.bts.co.uk>
To: www-html@w3.org
> From:	M. Amin [SMTP:amin@imkenberg.net]
>  I'm developing a web page in which the user inserts his e-mail address. I
> want to know how to verify that the entered e-mail is
> correct syntatically.
	HTML imposes no constraints, even when used in HTML 
	input elements.  It probably doesn't even constrain 
	input to the HTML character set.

> Note, i'm using java for verification.
	HTML is irrelevant to Java form handling code.

	I think you are asking in the wrong place.  This
	is not a list about designing web sites; it is about
	the design of the HTML language (not JavaScript, not DOM,
	not CSS, not Java) itself.

	The answer to the question is look in RFC 822 and RFC 1123, 
	but note that certain forms will be rejected these days as
	an anti-spam measure.

--------------------------- DISCLAIMER ---------------------------------
Any views expressed in this message are those of the individual sender,
except where the sender specifically states them to be the views of BTS.

Received on Tuesday, 6 February 2001 11:47:54 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:56 UTC