Previous Thread
Next Thread
Print Thread
Rate Thread
Gorlum #231824 01/05/2003 1:47 PM
Joined: May 1999
Posts: 1,715
Addict
Addict
Joined: May 1999
Posts: 1,715
I mentioned this as a bug two months ago or something like that. I even mentioned a quick fix to be a bit more standards compliant (which would let the above mentioned email be entered).

There is an RFC (used to be 822, but has been superceded by 2822) that clearly states what is allowed within an adress. In RFC 822 you could have any word-character and dot (.) as long as it doesn't begin or end with a dot. A word character is the normal english alphabet, upper and lower case, numbers as well as "-". So with the old RFC822 it is perfectly okay to end the mailbox part (before @) with -.

With RFC2822, which should now be used, even more characters are allowed. Basically any other alphabetic characters in the standard ASCII table (even foreign ones), as well as a bunch of separation characters: !#$%&'*+-/=?^_`{|}ยด~
You still can't begin or end with a dot though, but any of the above characters are OK.

Don't know how many mail servers comply with the new RFC though, since it was published in April 2001, but I'd say threads is as good a place as any to start using it.

I can write the regex needed to make it work with either RFC 822 or RFC 2822 depending of what might be best.

Sponsored Links
Entire Thread
Subject Posted By Posted
"[email protected]" a valid eMail address? Maze 01/05/2003 2:32 PM
Re: JoshPet 01/05/2003 3:08 PM
Re: Maze 01/05/2003 3:44 PM
Re: JoshPet 01/05/2003 3:48 PM
Re: Ian_W 01/05/2003 4:14 PM
Re: "[email protected]" a valid eMail address? JoshPet 01/05/2003 6:30 PM
Valid e-mail Gardener 01/05/2003 9:47 PM
Re: Valid e-mail JustDave 01/05/2003 9:51 PM
Re: Valid e-mail Gardener 01/05/2003 9:59 PM
Re: Valid e-mail Dave_L_dup1 01/05/2003 10:50 PM
Re: Valid e-mail JustDave 01/05/2003 10:59 PM
Re: Valid e-mail Gardener 01/06/2003 4:05 AM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
• Shock Hosting
• Stable Host
• bluehost
• InterServer
Visit us on Facebook
Member Spotlight
Ruben Rocha
Ruben Rocha
Lutz,FL,USA
Posts: 253
Joined: January 2000
Forum Statistics
Forums63
Topics37,583
Posts293,957
Members13,826
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 1205
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 5
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
isaac 2
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20261026)