Re: format e-mail adrese
Baš me je zainteresovalo da pronađem tačnu specifikaciju i nisam se
baš obradovao (mislim super je zbog mogućnosti koje nudi ali nije baš
kratak regex koji je mečuje):
As defined in RFC 2821, the local-part of an e-mail address allows up
to 64 characters maximum and the domain name a maximum of 255
characters. The local-part, "MUST BE treated as case sensitive."
According to RFC 2822, the local-part of the email may use any of
these ASCII characters:
* Uppercase and lowercase letters
* The digits 0 through 9
* The characters "!", "#", "$", "%", "&", "'", "*", "+", "-", "/",
"=", "?", "^", "_", "`", "{", "|", "}", "~"
* The character "." provided that it is not the first or last
character in the local-part.
The domain name is much more restricted. The domain name is limited to
"letters, digits, and hyphens drawn from the ASCII character set ...
Mailbox domains are not case sensitive." (RFC 2821). (Domain names
also contain the character ".").
Preuzeto sa: http://en.wikipedia.org/wiki/Email_address
E sad, mislim da za domaći nije potrebno ulaziti u tolike detalje, ali
što da ne, ako neko želi... ;)
Pozdrav,
Miloš Lalić
milos.lalic@gmail.com
http://www.putovanja.info
On 30/11/05, Mirna Matic <zekazuba@gmail.com> wrote:
> Bilo je već reči o tačnoj formi email adrese, ali i dalje postoje
> nedoumice:
>
> 1. Da li delovi adrese levo i desno od "@" mogu da počnu nečim što nije
> slovo (broj, tačka, crta, donjacrta)?
> 2. Da li u okviru adrese može dva puta za redom da se nađe npr. tačka (tj.
> da li mejl može da glasi: ..@--.com)
>
> Pozdrav,
> Mirna
> -----------------------------------------------------------------
> unsubscribe:
> minimalist@titan.etf.bg.ac.yu?subject=unsubscribe%20ri4pp
> -----------------------------------------------------------------
baš obradovao (mislim super je zbog mogućnosti koje nudi ali nije baš
kratak regex koji je mečuje):
As defined in RFC 2821, the local-part of an e-mail address allows up
to 64 characters maximum and the domain name a maximum of 255
characters. The local-part, "MUST BE treated as case sensitive."
According to RFC 2822, the local-part of the email may use any of
these ASCII characters:
* Uppercase and lowercase letters
* The digits 0 through 9
* The characters "!", "#", "$", "%", "&", "'", "*", "+", "-", "/",
"=", "?", "^", "_", "`", "{", "|", "}", "~"
* The character "." provided that it is not the first or last
character in the local-part.
The domain name is much more restricted. The domain name is limited to
"letters, digits, and hyphens drawn from the ASCII character set ...
Mailbox domains are not case sensitive." (RFC 2821). (Domain names
also contain the character ".").
Preuzeto sa: http://en.wikipedia.org/wiki/Email_address
E sad, mislim da za domaći nije potrebno ulaziti u tolike detalje, ali
što da ne, ako neko želi... ;)
Pozdrav,
Miloš Lalić
milos.lalic@gmail.com
http://www.putovanja.info
On 30/11/05, Mirna Matic <zekazuba@gmail.com> wrote:
> Bilo je već reči o tačnoj formi email adrese, ali i dalje postoje
> nedoumice:
>
> 1. Da li delovi adrese levo i desno od "@" mogu da počnu nečim što nije
> slovo (broj, tačka, crta, donjacrta)?
> 2. Da li u okviru adrese može dva puta za redom da se nađe npr. tačka (tj.
> da li mejl može da glasi: ..@--.com)
>
> Pozdrav,
> Mirna
> -----------------------------------------------------------------
> unsubscribe:
> minimalist@titan.etf.bg.ac.yu?subject=unsubscribe%20ri4pp
> -----------------------------------------------------------------
- Follow-Ups:
- Materijali...Pitanje za asistenta...
- From: "Marko Jagodic" <jagodici@verat.net>
- Materijali...Pitanje za asistenta...
- References:
- format e-mail adrese
- From: Mirna Matic <zekazuba@gmail.com>
- format e-mail adrese
Previous by date: Domaci zadaci...
Next by date: Materijali...Pitanje za asistenta...
Previous by thread: format e-mail adrese Next by thread: Materijali...Pitanje za asistenta...
Previous by thread: format e-mail adrese Next by thread: Materijali...Pitanje za asistenta...