E-mails... what is valid?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
chrys
Forum Contributor
Posts: 118
Joined: Tue Oct 04, 2005 9:41 am
Location: West Roxbury, MA (Boston)

E-mails... what is valid?

Post by chrys »

Is name_@domain.com a syntactically correct e-mail address?

edit: well it says name_ @domain.com (without space)
JasonTC
Forum Commoner
Posts: 92
Joined: Wed Nov 02, 2005 11:05 am
Location: Grand Rapids, MI

Post by JasonTC »

I tried registering an e-mail address with the last character before the @ being an underscore and it let me. If you think about it, since _ is one of the allowed characters in an e-mail address, it doesn't seem like it should matter where it falls in the string anyway. So I'm gonna go with a "yes".
Post Reply