Non so se questo è il posto più giusto per postare...comunque volevo sapere se qualcuno ha una lista dei caratteri consentiti all'interno di un indirizzo email...cioè quali caratteri deve avere e non avere per essere considerato un email valido

Il problema riguarda caratter come /\!"£...ecc.. io avevo visto da qualche parte che in teoria sono permessi TUTTI i caratter della tabella ASCII...è vara sta cosa?

Preso da un forum inglese...

START SCHNIPP-------------------------------
Roger> # limit allowed characters in email addresses
Roger> $to =~ tr/-a-zA-Z0-9_+%$.,:!_at_=()[]//cd;

This is neither necessary nor sufficient. Please stop with this nonsense.

**************************************************
* An email address can have ANY CHARACTER OF THE PRINTABLE ASCII SEQUENCE.
*
* An email address NEVER NEEDS TO GET NEAR A SHELL, so ALL CHARACTERS
* ARE SAFE.
**************************************************

Clear?

Man, if I see ONE MORE script that checks for a "legal email", I'm gonna
scream. Matter of fact, I already did.

--
Randal L. Schwartz

END SCHNIPP---------------------------------


Chi mi helpa?

e grazie..