Verify the regular expression of the mailbox
Who can send a mailbox under the regular expression reference.
I understand the email rules [email protected]
/^[\w-]+@[\w-]+\. [\w-]+$/(Is this OK?)
Are there any privileged mailboxes that need to be considered?
QQ Mailbox launched VIP mailbox domain, Members enjoy VIP mailbox registration and use right! [Email protected] @qq. com two domain names pointing to the same mailbox, the same letter, the same receipt, the only manifestation of your distinguished status and privileges.
Privileged mailbox Subvert my previous mailbox rules, so what are the rules of the mailbox?
------to solve the idea----------------------
/^[\w\-\.] +@[\w\-\.] + (\.\w+) +$/
------to solve the idea----------------------
At least 6 bits, up to 32 bits, can have multiple after @. , such as you say @ vip.qq.com, generally this is the mailbox rules, other special and existing mailboxes to make corresponding changes (should be very few)