WOW!  I didn't realize I would start such a thread.  I *think* I'm glad to
know that others were confused on this.  Anyway, it appears that we have an
answer, but it does mean some of my validation code needs a rework -- ARGH!

Thanks.

Bob

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Rod Dorman
Sent: Wednesday, January 09, 2002 3:50 PM
To: [EMAIL PROTECTED]
Subject: RE: Re[2]: [IMail Forum] OT -- sort of: valid characters in
email address


T. Bradley Dean wrote:
> In an email address? You sure about that?

Yes.

> Hmm, that would certainly suck.
> 1) It means I'm wrong.
> 2) It means I have to change my own email validation code. ;)
>
> I would assume this is in an RFC somewhere. Anyone know where?

I already sent a reply to the list with the reference but its lost in
Ipswitch's list queue.

Here it is again, perhaps this one will go straight thru.


Bob Ferguson wrote:
> Sorry for the rather "101" type question, but is the ' a valid character
in
> an email address?  I thought not -- only alpha, numbers, "-", "_", and
".".
> But, I'm getting addresses with the ' in them and some program code I have
> is barfing on it.

I assume you are asking about the Local-part of the Mailbox, the part
before the @.  The Domain (the part after the @ can't have anything
except letters, digits, "-", and ".".

If you want the gory details look at RFC 2821
http://www.rfc-editor.org/rfc/rfc2821.txt
section 4.1.2 Command Argument Syntax

In short, ' is valid in the Local-part.

--
[EMAIL PROTECTED]
           "Hangers on though you be friends be more humble
           when asking for seconds."
              Katsuhito Masaki (Grandfather); Tenchi Muyo Episode 7

Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.

An Archive of this list is available at:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/


Please visit http://www.ipswitch.com/support/mailing-lists.html 
to be removed from this list.

An Archive of this list is available at:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/

Reply via email to