What is Entire List of Charachters Allowed in Emai

Results 1 to 2 of 2

Thread: What is Entire List of Charachters Allowed in Emai

  1. #1
    Join Date
    Dec 1969

    Default What is Entire List of Charachters Allowed in Emai

    What is the entire list of characters allowed in email?<BR><BR>I have A thru Z, 0 thru 9, the @, the period . and the hyphen - <BR><BR>I have to ask because I had trouble with a script yesterday, when my script that verifys email address for the conventional format rejected a user because he had a hypen in his. So I have inlcuded the hyphen. <BR><BR>Are there any more surprises?

  2. #2
    Join Date
    Dec 1969

    Default This should confuse you :)

    I got this from :<BR><BR>http://email.about.com/gi/dynamic/offsite.htm?site=http%3A%2F%2Fwww.ietf.org%2Frfc%2 Frfc2822.txt<BR><BR>Read it and see if you can work it out:<BR><BR>3.4.1. Addr-spec specification<BR><BR> An addr-spec is a specific Internet identifier that contains a<BR> locally interpreted string followed by the at-sign character ("@",<BR> ASCII value 64) followed by an Internet domain. The locally<BR> interpreted string is either a quoted-string or a dot-atom. If the<BR> string can be represented as a dot-atom (that is, it contains no<BR> characters other than atext characters or "." surrounded by atext<BR><BR><BR><BR>Resnick Standards Track [Page 16]<BR> <BR>RFC 2822 Internet Message Format April 2001<BR><BR><BR> characters), then the dot-atom form SHOULD be used and the<BR> quoted-string form SHOULD NOT be used. Comments and folding white<BR> space SHOULD NOT be used around the "@" in the addr-spec.<BR><BR>addr-spec = local-part "@" domain<BR><BR>local-part = dot-atom / quoted-string / obs-local-part<BR><BR>domain = dot-atom / domain-literal / obs-domain<BR><BR>domain-literal = [CFWS] "[" *([FWS] dcontent) [FWS] "]" [CFWS]<BR><BR>dcontent = dtext / quoted-pair<BR><BR>dtext = NO-WS-CTL / ; Non white space controls<BR><BR> %d33-90 / ; The rest of the US-ASCII<BR> %d94-126 ; characters not including "[",<BR> ; "]", or "\"<BR><BR> The domain portion identifies the point to which the mail is<BR> delivered. In the dot-atom form, this is interpreted as an Internet<BR> domain name (either a host name or a mail exchanger name) as<BR> described in [STD3, STD13, STD14]. In the domain-literal form, the<BR> domain is interpreted as the literal Internet address of the<BR> particular host. In both cases, how addressing is used and how<BR> messages are transported to a particular host is covered in the mail<BR> transport document [RFC2821]. These mechanisms are outside of the<BR> scope of this document.<BR><BR> The local-part portion is a domain dependent string. In addresses,<BR> it is simply interpreted on the particular host as a name of a<BR> particular mailbox.<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts